remove extra ampersand from continuity params
git-svn-id: svn://10.0.0.236/trunk@186515 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user