diff --git a/core/ajax/vcategories/favorites.php b/core/ajax/vcategories/favorites.php
index 62ae07a24f6a0e584ae5042b7b4e822419716ce8..db4244d601adb4443d1bb84081166882b564a03a 100644
--- a/core/ajax/vcategories/favorites.php
+++ b/core/ajax/vcategories/favorites.php
@@ -25,6 +25,6 @@ if(is_null($type)) {
 }
 
 $categories = new OC_VCategories($type);
-$ids = $categories->getFavorites($type));
+$ids = $categories->getFavorites($type);
 
 OC_JSON::success(array('ids' => $ids));