Merge branch 'sprint/xieqiyu_fixbug_17188' into 'master'
* Fix bug#17188. See merge request easycorp/zentaopms!799
This commit is contained in:
@@ -189,7 +189,13 @@ class doc extends control
|
||||
if(!empty($_POST))
|
||||
{
|
||||
$changes = $this->doc->updateLib($libID);
|
||||
if(dao::isError()) die(js::error(dao::getError()));
|
||||
if(dao::isError())
|
||||
{
|
||||
$response['result'] = 'fail';
|
||||
$response['message'] = dao::getError();
|
||||
return $this->send($response);
|
||||
}
|
||||
|
||||
if($changes)
|
||||
{
|
||||
$actionID = $this->action->create('docLib', $libID, 'edited');
|
||||
|
||||
Reference in New Issue
Block a user