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) . '?) ';