X-Git-Url: https://git.llucax.com/mecon/meconlib.git/blobdiff_plain/95f3d9511126b7d53bc5b88cea355f72f5b65a68..ea416d0f0d084c267f4d21f6a9a246de00bd848d:/lib/MECON/Agente.php diff --git a/lib/MECON/Agente.php b/lib/MECON/Agente.php index 5935153..c3a21aa 100644 --- a/lib/MECON/Agente.php +++ b/lib/MECON/Agente.php @@ -181,7 +181,7 @@ class MECON_Agente { $sql = "SELECT * FROM Contratados.Contratados WHERE nrodoc = $agente"; - $result = $db->query($sql); + $result = $this->_db->query($sql); if(DB::isError($result)) { trigger_error($result->getMessage("query mal hecho"), E_USER_ERROR); }