From: Jan Schneider Date: Mon, 13 Sep 2010 10:00:06 +0000 (+0200) Subject: Fix argument passing. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=4d215c6c7c652cb6681a16543bed10a60ea45c2d;p=horde.git Fix argument passing. --- diff --git a/framework/Group/lib/Horde/Group/Sql.php b/framework/Group/lib/Horde/Group/Sql.php index 7632dd8da..74f1e9207 100644 --- a/framework/Group/lib/Horde/Group/Sql.php +++ b/framework/Group/lib/Horde/Group/Sql.php @@ -438,7 +438,7 @@ class Horde_Group_Sql extends Horde_Group $query = 'SELECT COUNT(*) FROM horde_groups WHERE group_name = ?'; try { - return (bool)$this->db->selectValue($query, $group); + return (bool)$this->db->selectValue($query, array($group)); } catch (Horde_Db_Exception $e) { return false; }