diff options
Diffstat (limited to 'lib/vcategories.php')
-rw-r--r-- | lib/vcategories.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/vcategories.php b/lib/vcategories.php index 7032afd5fde..bae9e3d0391 100644 --- a/lib/vcategories.php +++ b/lib/vcategories.php @@ -661,6 +661,7 @@ class OC_VCategories { if(!is_array($names)) { $names = array($names); } + OC_Log::write('core', __METHOD__ . ', before: ' . print_r($this->categories, true), OC_Log::DEBUG); foreach($names as $name) { @@ -724,6 +725,7 @@ class OC_VCategories { unset($categories[$this->array_searchi($name, $categories)]); } } + $object->setString('CATEGORIES', implode(',', $categories)); if($vobject !== $object) { $vobject[$componentname] = $object; |