diff options
Diffstat (limited to 'lib/models/PersonalNotifications.class.php')
| -rw-r--r-- | lib/models/PersonalNotifications.class.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/models/PersonalNotifications.class.php b/lib/models/PersonalNotifications.class.php index dbdb266..9218bc0 100644 --- a/lib/models/PersonalNotifications.class.php +++ b/lib/models/PersonalNotifications.class.php @@ -371,7 +371,7 @@ class PersonalNotifications extends SimpleORMap if (!$user_id) { $user_id = $GLOBALS['user']->id; } - return UserConfig::get($user_id)->getValue("PERSONAL_NOTIFICATIONS_DEACTIVATED") ? false : true; + return (new UserConfig($user_id))->getValue('PERSONAL_NOTIFICATIONS_DEACTIVATED') ? false : true; } /** |
