changeset 800 | 9cdfe82c56cd |
parent 798 | ddfc1b554a08 |
child 801 | eb8b23f11744 |
--- a/includes/render.php Sat Jan 03 17:54:26 2009 -0500 +++ b/includes/render.php Sat Jan 03 18:11:18 2009 -0500 @@ -49,6 +49,11 @@ unset($perms); unset($perms); // PHP <5.1.5 Zend bug $perms = $session->fetch_page_acl($page_id, $namespace); + if ( !$perms ) + { + $session->init_permissions(); + $perms = $session->fetch_page_acl($page_id, $namespace); + }; } if(!$perms->get_permissions('read'))