equal
deleted
inserted
replaced
498 // |
498 // |
499 |
499 |
500 foreach ( $paths->pages as $id => $page ) |
500 foreach ( $paths->pages as $id => $page ) |
501 { |
501 { |
502 if ( $page['namespace'] != 'Special' || $page['visible'] == 0 ) |
502 if ( $page['namespace'] != 'Special' || $page['visible'] == 0 ) |
503 continue; |
|
504 if ( !is_int($id) ) |
|
505 continue; |
503 continue; |
506 $idstring = 'ns=' . $page['namespace'] . ';pid=' . $page['urlname_nons']; |
504 $idstring = 'ns=' . $page['namespace'] . ';pid=' . $page['urlname_nons']; |
507 $any = array_values(array_unique(array_merge($query['any'], $query_phrase['any']))); |
505 $any = array_values(array_unique(array_merge($query['any'], $query_phrase['any']))); |
508 foreach ( $any as $term ) |
506 foreach ( $any as $term ) |
509 { |
507 { |