View | Details | Raw Unified | Return to bug 6802 | Differences between
and this patch

Collapse All | Expand All

(-)a/pages/author/SubmitHandler.inc.php (-3 / +3 lines)
 Lines 163-171   class SubmitHandler extends AuthorHandler { Link Here 
163
					$article =& $articleDao->getArticle($articleId);
163
					$article =& $articleDao->getArticle($articleId);
164
					$roleDao =& DAORegistry::getDAO('RoleDAO');
164
					$roleDao =& DAORegistry::getDAO('RoleDAO');
165
					$notificationUsers = array();
165
					$notificationUsers = array();
166
					$editors = $roleDao->getUsersByRoleId(ROLE_ID_EDITOR);
166
					$editors = $roleDao->getUsersByRoleId(ROLE_ID_EDITOR, $journal->getId());
167
					$notifyUsers = $editors->toArray();
167
					while (!$editors->eof()) {
168
					while ($editor =& $editors->next()) {
168
						$editor =& $editors->next();
169
						$url = $request->url(null, 'editor', 'submission', $articleId);
169
						$url = $request->url(null, 'editor', 'submission', $articleId);
170
						$notificationManager->createNotification(
170
						$notificationManager->createNotification(
171
							$editor->getId(), 'notification.type.articleSubmitted',
171
							$editor->getId(), 'notification.type.articleSubmitted',

Return to bug 6802