Don't try to call a an array :-P

This commit is contained in:
Thomas Tanghus 2013-03-30 16:35:13 +01:00
parent a56abd3f9b
commit 73dd54c962
1 changed files with 1 additions and 1 deletions

View File

@ -547,7 +547,7 @@ class OC_VCategories {
// job done ;) // job done ;)
return true; return true;
} }
$updates = $ids(); $updates = $ids;
try { try {
$query = 'DELETE FROM `' . self::RELATION_TABLE . '` '; $query = 'DELETE FROM `' . self::RELATION_TABLE . '` ';
$query .= 'WHERE `objid` IN (' . str_repeat('?,', count($ids)-1) . '?) '; $query .= 'WHERE `objid` IN (' . str_repeat('?,', count($ids)-1) . '?) ';