includes/namespaces/user.php
changeset 832 7152ca0a0ce9
parent 801 eb8b23f11744
child 896 ddecc53004ee
equal deleted inserted replaced
831:45e887f23282 832:7152ca0a0ce9
   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']);