From 36cdd19a3fd207a98546c3a166abdf4d5afa3e35 Mon Sep 17 00:00:00 2001 From: Gonzalo Merayo Date: Mon, 14 Jul 2003 20:50:09 +0000 Subject: [PATCH 1/1] retorna falso cuando no encuentra el agente --- lib/MECON/Agente.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/MECON/Agente.php b/lib/MECON/Agente.php index 994dc20..839ad94 100644 --- a/lib/MECON/Agente.php +++ b/lib/MECON/Agente.php @@ -222,8 +222,9 @@ class Agente { $this->datos = $result->fetchRow(DB_FETCHMODE_ASSOC); } else - trigger_error("Ahhhhh, agente no encontrado!"); + return false; } + return true; } // -X2C -- 2.43.0