]> git.llucax.com Git - mecon/samurai.git/commitdiff
BugFix.
authorMartín Marrese <marrese@gmail.com>
Tue, 5 Aug 2003 16:41:49 +0000 (16:41 +0000)
committerMartín Marrese <marrese@gmail.com>
Tue, 5 Aug 2003 16:41:49 +0000 (16:41 +0000)
lib/SAMURAI/Perm.php

index 55b9785d9392844e097f2d5d20f10b161e0ebb0f..b1b080519386ab67628fa936025062096f0cb8aa 100644 (file)
@@ -107,7 +107,7 @@ Si no se pasa ningn p?ametro ($perm->tiene()), devuelve true si tiene un permiso
         } else {
             foreach ($args as $arg) {
                 if (is_array($arg)) {
-                     if (array_intersect($arg, @$this->_permisos[$this->_sistema])) {
+                     if (@array_intersect($arg, $this->_permisos[$this->_sistema])) {
                         return true;
                      }
                 } else {