fixing undefined variable $where

This commit is contained in:
Thomas Mueller 2013-01-06 23:48:04 +01:00
parent 408b2cba58
commit cdd28fcc46
1 changed files with 1 additions and 1 deletions

View File

@ -569,7 +569,7 @@ class Share {
$itemTypes = $collectionTypes;
}
$placeholders = join(',', array_fill(0, count($itemTypes), '?'));
$where .= ' WHERE `item_type` IN ('.$placeholders.'))';
$where = ' WHERE `item_type` IN ('.$placeholders.'))';
$queryArgs = $itemTypes;
} else {
$where = ' WHERE `item_type` = ?';