X-Git-Url: https://git.llucax.com/mecon/meconlib.git/blobdiff_plain/95f3d9511126b7d53bc5b88cea355f72f5b65a68..363434e2910ed025fc81935a24d517ca2aea43c1:/lib/MECON/Agente.php?ds=inline 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); }