remove extra ampersand from continuity params

This commit is contained in:
robert%accettura.com 2005-12-23 05:40:39 +00:00
parent 60de20d122
commit 2f57c6de4e

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