Update for bug 337838, fixes redirect to use config var for first part of URI.
git-svn-id: svn://10.0.0.236/trunk@201184 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
ac3f243739
commit
d0538c305f
@ -250,7 +250,7 @@ if ($resultCount<$page['right']) {
|
||||
|
||||
// If we have only one result, redirect to the addon page.
|
||||
if ( $resultCount == 1) {
|
||||
header('Location: https://'.$_SERVER['HTTP_HOST'].WEB_PATH.'/'.$clean['app'].'/'.$rawResults[0].'/');
|
||||
header('Location: '.HTTP_HOST.WEB_PATH.'/'.$clean['app'].'/'.$rawResults[0].'/');
|
||||
exit;
|
||||
} else {
|
||||
foreach($rawResults as $id) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user