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:
robert%accettura.com
2005-12-23 05:40:39 +00:00
parent 119e1f6f04
commit d0133e7059

View File

@@ -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);
}