Skip to content

Commit

Permalink
*8636* Get contents for warning type notifications
Browse files Browse the repository at this point in the history
  • Loading branch information
beghelli committed Mar 20, 2014
1 parent e77e15e commit edc2929
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions classes/notification/PKPNotificationManager.inc.php
Expand Up @@ -121,6 +121,7 @@ public function getNotificationMessage($request, $notification) {
switch ($type) {
case NOTIFICATION_TYPE_SUCCESS:
case NOTIFICATION_TYPE_ERROR:
case NOTIFICATION_TYPE_WARNING:
if (!is_null($this->getNotificationSettings($notification->getId()))) {
$notificationSettings = $this->getNotificationSettings($notification->getId());
return $notificationSettings['contents'];
Expand Down

0 comments on commit edc2929

Please sign in to comment.