mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-24 02:35:41 +00:00
remove extra ampersand from continuity params
This commit is contained in:
parent
60de20d122
commit
2f57c6de4e
@ -347,9 +347,16 @@ class query
|
||||
|
||||
// finish off complete
|
||||
if($query_input['count']){
|
||||
$complete .= '&count=on';
|
||||
$complete .= 'count=on';
|
||||
}
|
||||
|
||||
// strip off any remaining & that may be on the end
|
||||
if(substr($standard, -5) == '&'){
|
||||
$standard = substr($standard, 0, -5);
|
||||
}
|
||||
if(substr($complete, -5) == '&'){
|
||||
$complete = substr($complete, 0, -5);
|
||||
}
|
||||
// lets return
|
||||
return array($standard, $complete);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user