mirror of
https://github.com/e107inc/e107.git
synced 2025-08-02 12:48:26 +02:00
more proper return value on error (dbDelete )
This commit is contained in:
@@ -2771,7 +2771,7 @@ class e_admin_model extends e_front_model
|
|||||||
$this->_db_errmsg = '';
|
$this->_db_errmsg = '';
|
||||||
if($this->hasError())
|
if($this->hasError())
|
||||||
{
|
{
|
||||||
return 0;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(!$this->getId())
|
if(!$this->getId())
|
||||||
|
Reference in New Issue
Block a user