includes/render.php
changeset 322 5f1cd51bf1be
parent 320 112debff64bd
child 326 ab66d6d1f1f4
child 457 d823e49e2e4e
--- a/includes/render.php	Sat Dec 15 18:10:14 2007 -0500
+++ b/includes/render.php	Tue Dec 18 23:44:55 2007 -0500
@@ -44,7 +44,7 @@
     
     $perms =& $session;
     
-    if ( $page_id != $paths->cpage['urlname_nons'] || $namespace != $paths->namespace )
+    if ( $page_id != $paths->page_id || $namespace != $paths->namespace )
     {
       unset($perms);
       unset($perms); // PHP <5.1.5 Zend bug