Fix typo in AbstractUserNotificationEvent
authorMatthias Schmidt <gravatronics@live.com>
Fri, 22 May 2015 05:45:56 +0000 (07:45 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Fri, 22 May 2015 05:45:56 +0000 (07:45 +0200)
wcfsetup/install/files/lib/system/user/notification/event/AbstractUserNotificationEvent.class.php

index bc3df9c90cb13b3f7dc73ee4fb7782d11dae5874..e208524d4971bc88ba8a09908038c2f0a9e2e77f 100644 (file)
@@ -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();
        }
        
        /**