summaryrefslogtreecommitdiffstats
path: root/lib/vcategories.php
diff options
context:
space:
mode:
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 607a995cb33..ec243297a43 100644
--- a/lib/vcategories.php
+++ b/lib/vcategories.php
@@ -706,11 +706,11 @@ class OC_VCategories {
if(!is_array($haystack)) {
return false;
}
+
return array_search(
strtolower($needle),
array_map('strtolower', $haystack)
);
}
-
}