summaryrefslogtreecommitdiffstats
path: root/lib/vcategories.php
diff options
context:
space:
mode:
authorThomas Tanghus <thomas@tanghus.net>2013-03-30 16:35:13 +0100
committerThomas Tanghus <thomas@tanghus.net>2013-03-30 16:35:13 +0100
commit73dd54c9624a713d8180741c4558b2d56972a5ac (patch)
treef3424b38fcca48137037f8f6dc804598ae448af3 /lib/vcategories.php
parenta56abd3f9bdb1107bddb6cd8982a2be8727a938e (diff)
downloadnextcloud-server-73dd54c9624a713d8180741c4558b2d56972a5ac.tar.gz
nextcloud-server-73dd54c9624a713d8180741c4558b2d56972a5ac.zip
Don't try to call a an array :-P
Diffstat (limited to 'lib/vcategories.php')
-rw-r--r--lib/vcategories.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/vcategories.php b/lib/vcategories.php
index 372706b185a..a1ba0f2482a 100644
--- a/lib/vcategories.php
+++ b/lib/vcategories.php
@@ -547,7 +547,7 @@ class OC_VCategories {
// job done ;)
return true;
}
- $updates = $ids();
+ $updates = $ids;
try {
$query = 'DELETE FROM `' . self::RELATION_TABLE . '` ';
$query .= 'WHERE `objid` IN (' . str_repeat('?,', count($ids)-1) . '?) ';