includes/pageprocess.php
changeset 4 0b3a0aedfd53
parent 1 fe660c52c48f
child 9 1e61232606d6
--- a/includes/pageprocess.php	Wed Jun 13 16:59:00 2007 -0400
+++ b/includes/pageprocess.php	Wed Jun 13 18:59:14 2007 -0400
@@ -194,9 +194,9 @@
       {
         $this->err_page_not_existent();
       }
-      
     }
     
+    
   }
   
   /**
@@ -222,7 +222,7 @@
     }
     
     // Does the page "exist"?
-    if ( $paths->cpage['urlname_nons'] == $page_id && $paths->namespace == $namespace && !$paths->page_exists && ( $this->namespace == 'Admin' && !function_exists($fname) ) )
+    if ( $paths->cpage['urlname_nons'] == $page_id && $paths->namespace == $namespace && !$paths->page_exists && ( $this->namespace != 'Admin' || ($this->namespace == 'Admin' && !function_exists($fname) ) ) )
     {
       $this->page_exists = false;
     }