fix reveresed logic
authorMichael J. Rubinsky <mrubinsk@horde.org>
Mon, 24 May 2010 20:55:26 +0000 (16:55 -0400)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Mon, 24 May 2010 20:55:26 +0000 (16:55 -0400)
Bug: 9057

framework/Perms/lib/Horde/Perms/Sql.php

index 789d39c..d3cc80f 100644 (file)
@@ -263,7 +263,7 @@ class Horde_Perms_Sql extends Horde_Perms
             throw new Horde_Perms_Exception($e);
         }
 
-        if ($force) {
+        if (!$force) {
             return (bool)$result;
         }