Viewing 1 replies (of 1 total)
  • Thread Starter Corey

    (@bolivares)

    function ace_get_section()
    {
    	global $wp_query, $ace_targets;
    
    	if (is_array($ace_targets))
    	{
    		foreach ($ace_targets as $key=>$val)
    		{
    		  if (!empty($wp_query->$key) && $wp_query->$key == 1) $filter = $key;
    		}
    	}
    	return $filter;
    }

    return $filter; is line 446

Viewing 1 replies (of 1 total)
  • The topic ‘Undefined variable on 404 pages’ is closed to new replies.