X-Git-Url: https://git.llucax.com/mecon/ai.git/blobdiff_plain/d734a389cf0d4b80a22887fd27c8a88379b01527..3715026a9cb67dcb765d39a236912ca80918101d:/lib/AI/DBTreeObject.php?ds=sidebyside diff --git a/lib/AI/DBTreeObject.php b/lib/AI/DBTreeObject.php index c8752c8..71689bc 100644 --- a/lib/AI/DBTreeObject.php +++ b/lib/AI/DBTreeObject.php @@ -106,7 +106,7 @@ class AI_DBTreeObject extends AI_DBObject { } // Si no hay mas resultados, entonces terminó bien. if (AI_Error::isError($err) - and $err->getCode() == AIERROR_NO_RESULTADOS) { + and $err->getCode() == AI_ERROR_NO_RESULTADOS) { return true; } // Si no, se devuelve el error.