includes/template.php
changeset 936 41090c4d2648
parent 935 9e124177c9a4
child 953 323c4cd1aa37
equal deleted inserted replaced
935:9e124177c9a4 936:41090c4d2648
   405       $local_fullpage = $local_page . $page_append;
   405       $local_fullpage = $local_page . $page_append;
   406       $local_page_id =& $page->page_id;
   406       $local_page_id =& $page->page_id;
   407       $local_namespace =& $page->namespace;
   407       $local_namespace =& $page->namespace;
   408       $local_page_exists = $page->exists();
   408       $local_page_exists = $page->exists();
   409       $perms =& $page->perms;
   409       $perms =& $page->perms;
       
   410       if ( !is_object($perms) )
       
   411       {
       
   412         unset($perms);
       
   413         $perms = $session->fetch_page_acl($local_page_id, $local_namespace);
       
   414       }
   410     }
   415     }
   411     else
   416     else
   412     {
   417     {
   413       $local_page =& $paths->page;
   418       $local_page =& $paths->page;
   414       $local_page_id =& $paths->page_id;
   419       $local_page_id =& $paths->page_id;