changeUri

boboo

Avatar: boboo

2013-01-21 07:43

If any list in admin panel is splited by countPagesClassic ($iList shorter than count(array)) then by clicking on the pagesNavigation (next/previev or ditect page number) the $_GET['iPage'] will not be truncated. The address will be longer and longer.

Solution:
in /core/common-admin.php in function changeUri exchange:

return preg_replace"/&iPage=[0-9]*/"''$sUrl );


to:

return preg_replace"/&iPage=[0-9]*/"''$sUrl );

» Quick.Cart v6.x

www.kimla.de

treewood (OpenSolution)

Avatar: treewood

2013-01-21 10:59

Yes this is bug but your solution not solve all situations. Changing should be to:

return preg_replace"/&iPage=[0-9]*|&iPage=[0-9]*/"''$sUrl );

Back to top
about us | contact