From 7c2b6ce5bf96c6c7d7ee5790ead47ad63817068a Mon Sep 17 00:00:00 2001 From: "Michael J. Rubinsky" Date: Mon, 24 May 2010 16:55:26 -0400 Subject: [PATCH] fix reveresed logic Bug: 9057 --- framework/Perms/lib/Horde/Perms/Sql.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/Perms/lib/Horde/Perms/Sql.php b/framework/Perms/lib/Horde/Perms/Sql.php index 789d39cc1..d3cc80f60 100644 --- a/framework/Perms/lib/Horde/Perms/Sql.php +++ b/framework/Perms/lib/Horde/Perms/Sql.php @@ -263,7 +263,7 @@ class Horde_Perms_Sql extends Horde_Perms throw new Horde_Perms_Exception($e); } - if ($force) { + if (!$force) { return (bool)$result; } -- 2.11.0