another place we don't need to concantenate
authorMichael J. Rubinsky <mrubinsk@horde.org>
Thu, 27 Jan 2011 03:36:14 +0000 (22:36 -0500)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Thu, 27 Jan 2011 03:45:41 +0000 (22:45 -0500)
framework/Share/lib/Horde/Share/Sql.php

index 5b5a561..a3a19df 100644 (file)
@@ -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);