fixing undefined variable $where

remotes/origin/stable5
Thomas Mueller 12 years ago
parent 408b2cba58
commit cdd28fcc46
  1. 2
      lib/public/share.php

@ -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` = ?';

Loading…
Cancel
Save