From cc0daeb72edec98c56454f3031479962989250a4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Mart=C3=ADn=20Marrese?= Date: Tue, 5 Aug 2003 16:41:49 +0000 Subject: [PATCH] BugFix. --- lib/SAMURAI/Perm.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/SAMURAI/Perm.php b/lib/SAMURAI/Perm.php index 55b9785..b1b0805 100644 --- a/lib/SAMURAI/Perm.php +++ b/lib/SAMURAI/Perm.php @@ -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 { -- 2.43.0