Error code in category-pagefix.php
-
Here’s an error code I’m getting: Debug is saying there’s an error on line 36 but I don’t see it. Help?
function remove_page_from_query_string($query_string)
{
if ($query_string[‘name’] == ‘page’ && isset($query_string[‘page’])) {
unset($query_string[‘name’]);
// ‘page’ in the query_string looks like ‘/2’, so i’m spliting it out
list($delim, $page_index) = split(‘/’, $query_string[‘page’]);
$query_string[‘paged’] = $page_index;
}
return $query_string;TIA
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
The topic ‘Error code in category-pagefix.php’ is closed to new replies.