* Fix bug #42800.
This commit is contained in:
@@ -437,7 +437,7 @@ class doc extends control
|
||||
if($doc->files) $this->doc->deleteFiles(array_keys($doc->files));
|
||||
|
||||
if(dao::isError()) $this->send(array('result' => 'fail', 'message' => dao::getError()));
|
||||
return $this->sendSuccess(array('load' => $this->session->docList));
|
||||
return $this->sendSuccess(array('load' => $this->session->docList ? $this->session->docList : $this->createLink('doc', 'index')));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user