]> git.llucax.com Git - mecon/samurai.git/commitdiff
Se corrige un warning.
authorLeandro Lucarella <llucax@gmail.com>
Thu, 31 Jul 2003 23:09:35 +0000 (23:09 +0000)
committerLeandro Lucarella <llucax@gmail.com>
Thu, 31 Jul 2003 23:09:35 +0000 (23:09 +0000)
lib/SAMURAI/Perm.php

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