diff --git a/e107_handlers/model_class.php b/e107_handlers/model_class.php index 0dd6681e3..b6761ea56 100644 --- a/e107_handlers/model_class.php +++ b/e107_handlers/model_class.php @@ -2771,7 +2771,7 @@ class e_admin_model extends e_front_model $this->_db_errmsg = ''; if($this->hasError()) { - return 0; + return false; } if(!$this->getId())