use $newdocstatus instead of $newStatus

This commit is contained in:
Uwe Steinmann 2016-03-23 17:33:04 +01:00
parent 3e05cfe24f
commit 6deefda545

View File

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