diff --git a/pages/author/SubmitHandler.inc.php b/pages/author/SubmitHandler.inc.php index 6b0b3af..2deda96 100644 --- a/pages/author/SubmitHandler.inc.php +++ b/pages/author/SubmitHandler.inc.php @@ -163,8 +163,7 @@ class SubmitHandler extends AuthorHandler { $article =& $articleDao->getArticle($articleId); $roleDao =& DAORegistry::getDAO('RoleDAO'); $notificationUsers = array(); - $editors = $roleDao->getUsersByRoleId(ROLE_ID_EDITOR); - $notifyUsers = $editors->toArray(); + $editors = $roleDao->getUsersByRoleId(ROLE_ID_EDITOR, $journal->getId()); while ($editor =& $editors->next()) { $url = $request->url(null, 'editor', 'submission', $articleId); $notificationManager->createNotification(