File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -139,6 +139,8 @@ public function saveSubmission($entry = null)
139139 // Trigger notification to reviewer
140140 if ($ settings ->reviewerNotifications ) {
141141 $ this ->sendReviewerNotificationEmail ($ submission );
142+ } else if ($ settings ->publisherNotifications ) {
143+ $ this ->sendPublisherNotificationEmail ($ submission );
142144 }
143145 }
144146
@@ -209,6 +211,8 @@ public function approveReview()
209211 // Trigger notification to editor
210212 if ($ settings ->reviewerNotifications ) {
211213 $ this ->sendReviewerNotificationEmail ($ submission );
214+ } else if ($ settings ->editorNotifications ) {
215+ $ this ->sendEditorNotificationEmail ($ submission );
212216 }
213217
214218 $ session ->setNotice (Craft::t ('workflow ' , 'Submission approved. ' ));
You can’t perform that action at this time.
0 commit comments