Fix to Net_URL_Mapper to make search pagination work. See Ticket #1333
This commit is contained in:
parent
c4072ef7c9
commit
d64be5108d
@ -241,7 +241,12 @@ class Net_URL_Mapper_Path
|
|||||||
}
|
}
|
||||||
$path = '/'.trim(Net_URL::resolvePath($path), '/');
|
$path = '/'.trim(Net_URL::resolvePath($path), '/');
|
||||||
if (!empty($qstring)) {
|
if (!empty($qstring)) {
|
||||||
$path .= '?'.http_build_query($qstring);
|
if (!strpos($path, '?')) {
|
||||||
|
$path .= '?';
|
||||||
|
} else {
|
||||||
|
$path .= '&';
|
||||||
|
}
|
||||||
|
$path .= http_build_query($qstring);
|
||||||
}
|
}
|
||||||
if (!empty($anchor)) {
|
if (!empty($anchor)) {
|
||||||
$path .= '#'.ltrim($anchor, '#');
|
$path .= '#'.ltrim($anchor, '#');
|
||||||
|
Loading…
Reference in New Issue
Block a user