fixing undefined variable $where
This commit is contained in:
parent
408b2cba58
commit
cdd28fcc46
|
@ -569,7 +569,7 @@ class Share {
|
||||||
$itemTypes = $collectionTypes;
|
$itemTypes = $collectionTypes;
|
||||||
}
|
}
|
||||||
$placeholders = join(',', array_fill(0, count($itemTypes), '?'));
|
$placeholders = join(',', array_fill(0, count($itemTypes), '?'));
|
||||||
$where .= ' WHERE `item_type` IN ('.$placeholders.'))';
|
$where = ' WHERE `item_type` IN ('.$placeholders.'))';
|
||||||
$queryArgs = $itemTypes;
|
$queryArgs = $itemTypes;
|
||||||
} else {
|
} else {
|
||||||
$where = ' WHERE `item_type` = ?';
|
$where = ' WHERE `item_type` = ?';
|
||||||
|
|
Loading…
Reference in New Issue