Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/news.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2012-11-13 00:07:50 +0400
committerBart Visscher <bartv@thisnet.nl>2012-11-13 02:06:25 +0400
commit25d3f68f1aa5442569c0af1c3595b6e43608bad7 (patch)
tree164b4fabbee0de48314d5144292dbe11142ed140 /lib
parente94029ecffd2504a6978f56797771d7b009998d5 (diff)
Fix linkTo links for new url format
fix #176
Diffstat (limited to 'lib')
-rw-r--r--lib/search.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/search.php b/lib/search.php
index a5378fa56..af450ba9f 100644
--- a/lib/search.php
+++ b/lib/search.php
@@ -17,7 +17,7 @@ class OC_Search_Provider_News extends OC_Search_Provider{
foreach($allFeeds as $feed) {
if(substr_count(strtolower($feed['title']), strtolower($query)) > 0) {
- $link = OCP\Util::linkTo('news', 'index.php').'&feedid='.urlencode($feed['id']);
+ $link = OCP\Util::linkTo('news', 'index.php').'?feedid='.urlencode($feed['id']);
$results[]=new OC_Search_Result($feed['title'], '', $link, (string)$l->t('News'));
}
}