always call postEditFolder

This commit is contained in:
Uwe Steinmann 2019-01-17 18:25:39 +01:00
parent fc63d1c15e
commit 5009a25439

View File

@ -84,11 +84,14 @@ class SeedDMS_Controller_EditFolder extends SeedDMS_Controller_Common {
} }
} }
if(!$this->callHook('postEditFolder')) { } elseif($result === false) {
} if(empty($this->errormsg))
$this->errormsg = 'hook_editFolder_failed';
return false;
}
} else if(!$this->callHook('postEditFolder')) {
return $result; }
return true; return true;
} }