[-] FO : fixed bug #PSCFV-6411 Friendly URL on prices-drop for page 2 doesn't work

This commit is contained in:
vAugagneur
2013-01-02 14:40:35 +01:00
parent bdc421b645
commit f0f50db926
2 changed files with 19 additions and 6 deletions
+5 -1
View File
@@ -535,7 +535,11 @@ class LinkCore
}
if (!$array)
return $url.(($this->allow == 1 || $url == $this->url) ? '?' : '&').http_build_query($vars, '', '&');
if (count($vars))
return $url.(($this->allow == 1 || $url == $this->url) ? '?' : '&').http_build_query($vars, '', '&');
else
return $url;
$vars['requestUrl'] = $url;
if ($type && $id_object)