Merge branch 'seeddms-5.1.x' into seeddms-6.0.x

This commit is contained in:
Uwe Steinmann 2020-12-15 10:03:45 +01:00
commit e25fda8e9b

View File

@ -167,7 +167,7 @@ class SeedDMS_Controller_AddDocument extends SeedDMS_Controller_Common {
}
}
if(false ==== $this->callHook('postAddDocument', $document)) {
if(false === $this->callHook('postAddDocument', $document)) {
if(empty($this->errormsg))
$this->errormsg = 'hook_postAddDocument_failed';
return false;