fix check for new content status

This commit is contained in:
Uwe Steinmann 2017-07-13 14:11:04 +02:00
parent 8e3919ae09
commit 6e37e1ded6

View File

@ -161,7 +161,7 @@ if($olddocstatus['status'] != $newdocstatus['status']) {
} }
// Notify approvers, if necessary. // Notify approvers, if necessary.
if ($newdocstatus == S_DRAFT_APP) { if ($newdocstatus['status'] == S_DRAFT_APP) {
$requestUser = $document->getOwner(); $requestUser = $document->getOwner();
if($notifier) { if($notifier) {