author | Dan |
Fri, 17 Apr 2009 08:40:48 -0400 | |
changeset 936 | 41090c4d2648 |
parent 935 | 9e124177c9a4 |
child 937 | b174cdb75bec |
--- a/includes/template.php Thu Apr 16 22:48:59 2009 -0400 +++ b/includes/template.php Fri Apr 17 08:40:48 2009 -0400 @@ -407,6 +407,11 @@ $local_namespace =& $page->namespace; $local_page_exists = $page->exists(); $perms =& $page->perms; + if ( !is_object($perms) ) + { + unset($perms); + $perms = $session->fetch_page_acl($local_page_id, $local_namespace); + } } else {