diff --git a/framework/model.class.php b/framework/model.class.php index 2557e069b6..dae146ed32 100644 --- a/framework/model.class.php +++ b/framework/model.class.php @@ -90,7 +90,7 @@ class model extends baseModel $table = zget($this->config->objectTables, $moduleName, ''); if(empty($table)) return false; - return $this->dao->findById($objectID)->from($table)->fetch(); + return $this->mao->findById($objectID)->from($table)->fetch(); } /**