From: Matthias Schmidt Date: Fri, 22 May 2015 05:45:56 +0000 (+0200) Subject: Fix typo in AbstractUserNotificationEvent X-Git-Tag: 3.0.0_Beta_1~2357 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=770a46bc422ce16a50000bda24fe55d6e5d07586;p=GitHub%2FWoltLab%2FWCF.git Fix typo in AbstractUserNotificationEvent --- 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(); } /**