From 662273eb4210906e971c4548b0aa1d9b1a8dcd77 Mon Sep 17 00:00:00 2001 From: Leandro Lucarella Date: Thu, 31 Jul 2003 23:09:35 +0000 Subject: [PATCH] Se corrige un warning. --- 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 ba8ccf9..55b9785 100644 --- a/lib/SAMURAI/Perm.php +++ b/lib/SAMURAI/Perm.php @@ -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; } } -- 2.43.0