From 770a46bc422ce16a50000bda24fe55d6e5d07586 Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Fri, 22 May 2015 07:45:56 +0200 Subject: [PATCH] Fix typo in AbstractUserNotificationEvent --- .../notification/event/AbstractUserNotificationEvent.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wcfsetup/install/files/lib/system/user/notification/event/AbstractUserNotificationEvent.class.php b/wcfsetup/install/files/lib/system/user/notification/event/AbstractUserNotificationEvent.class.php index bc3df9c90c..e208524d49 100644 --- a/wcfsetup/install/files/lib/system/user/notification/event/AbstractUserNotificationEvent.class.php +++ b/wcfsetup/install/files/lib/system/user/notification/event/AbstractUserNotificationEvent.class.php @@ -114,7 +114,7 @@ abstract class AbstractUserNotificationEvent extends DatabaseObjectDecorator imp * @see \wcf\system\user\notification\event\IUserNotificationEvent::isVisible() */ public function isVisible() { - return $this->getDecoratedObject()->validateOptions() & $this->getDecoratedObject()->validatePermissions(); + return $this->getDecoratedObject()->validateOptions() && $this->getDecoratedObject()->validatePermissions(); } /** -- 2.20.1