Fixed undefined index left over from scope system rewrite a few days ago
authorDan
Mon, 16 Jun 2008 19:05:16 -0400
changeset 576 6a8c4f1fc6c9
parent 575 9c1ab9c74662
child 577 5118610ce160
Fixed undefined index left over from scope system rewrite a few days ago
includes/sessions.php
--- a/includes/sessions.php	Mon Jun 16 19:04:33 2008 -0400
+++ b/includes/sessions.php	Mon Jun 16 19:05:16 2008 -0400
@@ -4016,6 +4016,9 @@
         }
         foreach ( $rules as $perm_type => $perm_value )
         {
+          if ( !isset($this->perms[$perm_type]) )
+            continue;
+          
           if ( $this->perms[$perm_type] == AUTH_DENY )
             continue;