mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 02:31:40 +09:00
Eliminate null returns in DB class
This commit is contained in:
parent
e48179aa05
commit
2dbc77ff68
1 changed files with 2 additions and 2 deletions
|
|
@ -470,7 +470,7 @@ class DB
|
|||
}
|
||||
if(!$this->db_type)
|
||||
{
|
||||
return;
|
||||
return new BaseObject(-1, 'msg_db_not_setted');
|
||||
}
|
||||
|
||||
$this->actDBClassStart();
|
||||
|
|
@ -493,7 +493,7 @@ class DB
|
|||
if(!isset($typeList[$target]))
|
||||
{
|
||||
$this->actDBClassFinish();
|
||||
return;
|
||||
return new BaseObject(-1, 'msg_invalid_queryid');
|
||||
}
|
||||
$module = $id_args[1];
|
||||
$id = $id_args[2];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue