equal
deleted
inserted
replaced
268 if ( count($comments) > 0 ) |
268 if ( count($comments) > 0 ) |
269 { |
269 { |
270 foreach ( $comments as $comment ) |
270 foreach ( $comments as $comment ) |
271 { |
271 { |
272 $c_page_id = $paths->nslist[ $comment['namespace'] ] . sanitize_page_id($comment['page_id']); |
272 $c_page_id = $paths->nslist[ $comment['namespace'] ] . sanitize_page_id($comment['page_id']); |
273 if ( isset($paths->pages[ $c_page_id ]) ) |
273 if ( isPage($c_page_id) ) |
274 { |
274 { |
275 $parser->assign_bool(array( |
275 $parser->assign_bool(array( |
276 'page_exists' => true |
276 'page_exists' => true |
277 )); |
277 )); |
278 $page_title = htmlspecialchars($paths->pages[ $c_page_id ]['name']); |
278 $page_title = htmlspecialchars($paths->pages[ $c_page_id ]['name']); |