X-Git-Url: https://git.llucax.com/mecon/meconlib.git/blobdiff_plain/b5fb49d03fee59d591769b0e8d25660d2bbb8e93..7009e11967b2ad1cc2a88042d32800270b9ceecc:/lib/MECON/Agente.php?ds=sidebyside 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);