From b5fb49d03fee59d591769b0e8d25660d2bbb8e93 Mon Sep 17 00:00:00 2001 From: Leandro Lucarella Date: Tue, 23 Mar 2004 23:28:44 +0000 Subject: [PATCH] - Arregle una interpolacion de variables. --- lib/MECON/Agente.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/MECON/Agente.php b/lib/MECON/Agente.php index d73ed05..ac10c23 100644 --- a/lib/MECON/Agente.php +++ b/lib/MECON/Agente.php @@ -188,7 +188,7 @@ class MECON_Agente { $this->agente = $agente; $sql = "SELECT * FROM novedades.web003 - WHERE nrodoc = $agente"; + WHERE nrodoc = ".$agente; $result = $this->_db->query($sql); if(DB::isError($result)) trigger_error($result->getMessage("query mal hecho"), E_USER_ERROR); -- 2.43.0