1
0
mirror of https://github.com/owncloud/bookmarks.git synced 2024-11-28 04:24:09 +01:00

fixed opening bracket

This commit is contained in:
Jonathan Kawohl 2017-08-03 11:45:55 +02:00 committed by GitHub
parent 516887da4e
commit 835b206a64

View File

@ -40,7 +40,7 @@ class Search extends \OCP\Search\Provider{
$user = \OCP\User::getUser();
$bookmarks = Bookmarks::findBookmarks($user, $db, 0, 'id', $search_words, false);
$l = \OC::$server->getL10N(('bookmarks'); //resulttype can't be localized, javascript relies on that type
$l = \OC::$server->getL10N('bookmarks'); //resulttype can't be localized, javascript relies on that type
foreach ($bookmarks as $bookmark) {
$results[] = new \OC_Search_Result($bookmark['title'], $bookmark['title'], $bookmark['url'], (string) $l->t('Bookm.'));
}