X-Git-Url: https://git.llucax.com/mecon/meconlib.git/blobdiff_plain/95f3d9511126b7d53bc5b88cea355f72f5b65a68..7833b20f2539532f5af0b6447ca5b74da6cc6982:/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); }