From 1317767bb01975f85d123f51808f6066ee82e309 Mon Sep 17 00:00:00 2001 From: Leandro Lucarella Date: Wed, 7 Apr 2004 20:31:27 +0000 Subject: [PATCH] =?utf8?q?-=20Se=20corrige=20interpolaci=C3=B3n=20de=20var?= =?utf8?q?iables?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- 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 ac10c23..aaa9977 100644 --- a/lib/MECON/Agente.php +++ b/lib/MECON/Agente.php @@ -197,7 +197,7 @@ class MECON_Agente { } else { $sql = "SELECT * FROM Contratados.Contratados - 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