summaryrefslogtreecommitdiffstats
path: root/apps/gallery
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2012-02-16 19:48:20 +0100
committerBart Visscher <bartv@thisnet.nl>2012-02-17 22:07:14 +0100
commite8b69d45a3afd9633b997eb178e159f9f97f4766 (patch)
treec73bfd48bbc344de391c18aa17071e3fcaa85276 /apps/gallery
parentf47444e1f776912cbf141ec9cc3763110f4e3552 (diff)
downloadnextcloud-server-e8b69d45a3afd9633b997eb178e159f9f97f4766.tar.gz
nextcloud-server-e8b69d45a3afd9633b997eb178e159f9f97f4766.zip
Fixup use of OC_Helper::linkTo function
Diffstat (limited to 'apps/gallery')
-rw-r--r--apps/gallery/appinfo/app.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/gallery/appinfo/app.php b/apps/gallery/appinfo/app.php
index da872274497..b8de32ea587 100644
--- a/apps/gallery/appinfo/app.php
+++ b/apps/gallery/appinfo/app.php
@@ -46,7 +46,7 @@ OC_App::addNavigationEntry( array(
$result = $stmt->execute(array(OC_User::getUser(),'%'.$query.'%'));
$results=array();
while($row=$result->fetchRow()){
- $results[]=new OC_Search_Result($row['album_name'],'',OC_Helper::linkTo('apps/gallery', 'index.php?view='.$row['album_name']),'Galleries');
+ $results[]=new OC_Search_Result($row['album_name'],'',OC_Helper::linkTo('gallery', 'index.php').'?view='.$row['album_name'],'Galleries');
}
return $results;
}