aboutsummaryrefslogtreecommitdiffstats
path: root/apps/bookmarks/bookmarksHelper.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/bookmarks/bookmarksHelper.php')
-rw-r--r--apps/bookmarks/bookmarksHelper.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/bookmarks/bookmarksHelper.php b/apps/bookmarks/bookmarksHelper.php
index 7ada69014fb..f1464be79de 100644
--- a/apps/bookmarks/bookmarksHelper.php
+++ b/apps/bookmarks/bookmarksHelper.php
@@ -94,7 +94,7 @@ function addBookmark($url, $title, $tags='') {
}
if(empty($title)) {
- $l = new OC_L10N('bookmarks');
+ $l = OC_L10N::get('bookmarks');
$title = $l->t('unnamed');
}