From 5c1f7f7948f60df95c1e6c2ece9a483cbf7cd336 Mon Sep 17 00:00:00 2001 From: Chris Morgan Date: Fri, 3 Jun 2005 23:36:27 +0000 Subject: [PATCH] Fix urls in version and application search result display functions so the urls work from any directory, not just the appdb root directory. --- include/util.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/util.php b/include/util.php index a8c225b..7a0511f 100644 --- a/include/util.php +++ b/include/util.php @@ -404,7 +404,7 @@ function outputSearchTableForhResult($search_words, $hResult) //display row echo "\n"; - echo " ".html_ahref($ob->appName,"appview.php?appId=$ob->appId")."\n"; + echo " ".html_ahref($ob->appName,BASE."appview.php?appId=$ob->appId")."\n"; echo " ".trim_description($ob->description)."\n"; echo " $y->versions  \n"; echo "\n\n"; @@ -447,7 +447,7 @@ function display_versions($iAppId, $aVersionsIds) //display row echo "\n"; - echo " ".$oVersion->sName."\n"; + echo " ".$oVersion->sName."\n"; echo " ".trim_description($oVersion->sDescription)."\n"; echo " ".$oVersion->sTestedRating."\n"; echo " ".$oVersion->sTestedRelease."\n";