From: Michael J. Rubinsky Date: Thu, 27 Jan 2011 03:36:14 +0000 (-0500) Subject: another place we don't need to concantenate X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=abdb68cdf18b0dae5727868e558c93706bdc51f6;p=horde.git another place we don't need to concantenate --- diff --git a/framework/Share/lib/Horde/Share/Sql.php b/framework/Share/lib/Horde/Share/Sql.php index 5b5a56151..a3a19df49 100644 --- a/framework/Share/lib/Horde/Share/Sql.php +++ b/framework/Share/lib/Horde/Share/Sql.php @@ -844,8 +844,8 @@ class Horde_Share_Sql extends Horde_Share_Base $group_ids[] = $this->_db->quote((string)$id); } $query .= ' LEFT JOIN ' . $this->_table . '_groups g ON g.share_id = s.share_id'; - $where .= ' OR (g.group_uid IN (' . implode(',', $group_ids) . ')' - . ' AND (' . Horde_SQL::buildClause($this->_db, 'g.perm', '&', $perm) . '))'; + $where .= ' OR (g.group_uid IN (' . implode(',', $group_ids) + . ') AND (' . Horde_SQL::buildClause($this->_db, 'g.perm', '&', $perm) . '))'; } } catch (Horde_Group_Exception $e) { $this->_logger->err($e);