Alexander Nicolaysen Sørnes : maintainer : Use logical instead of bitwise operator

Alexander Nicolaysen Sørnes asornes at winehq.org
Thu Nov 12 03:37:06 CST 2009


Module: appdb
Branch: master
Commit: b0245d5f14c0ee58e757ff5d23991b4d4cebda74
URL:    http://source.winehq.org/git/appdb.git/?a=commit;h=b0245d5f14c0ee58e757ff5d23991b4d4cebda74

Author: Alexander Nicolaysen Sørnes <alexander at linux-xqqm.(none)>
Date:   Wed Nov 11 21:27:51 2009 +0100

maintainer: Use logical instead of bitwise operator

---

 include/maintainer.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/maintainer.php b/include/maintainer.php
index 2acbd5f..c2c73dc 100644
--- a/include/maintainer.php
+++ b/include/maintainer.php
@@ -232,7 +232,7 @@ class maintainer
         /* If this is a non-queued maintainer submission, remove the user's non-
            super maintainer entries for the application's versions.  This check is
            also done in unQueue() */
-        if(!$this->mustBeQueued() & $this->bSuperMaintainer)
+        if(!$this->mustBeQueued() && $this->bSuperMaintainer)
             $this->removeUserFromAppVersions();
 
         return $hResult;




More information about the wine-cvs mailing list