summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorThomas Mueller <thomas.mueller@tmit.eu>2013-01-06 23:48:04 +0100
committerThomas Mueller <thomas.mueller@tmit.eu>2013-01-06 23:48:04 +0100
commitcdd28fcc46f813f8c53df6c2ab6e398c21a1db5b (patch)
tree3e19aad787b343965d0c65439229e4ef418e3eb3 /lib
parent408b2cba58c39a9036c19e3f84379ad019ca2a87 (diff)
downloadnextcloud-server-cdd28fcc46f813f8c53df6c2ab6e398c21a1db5b.tar.gz
nextcloud-server-cdd28fcc46f813f8c53df6c2ab6e398c21a1db5b.zip
fixing undefined variable $where
Diffstat (limited to 'lib')
-rw-r--r--lib/public/share.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/public/share.php b/lib/public/share.php
index d736871d244..7d8bfe6a5ed 100644
--- a/lib/public/share.php
+++ b/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` = ?';