View Single Post
Old 12-16-2004, 10:22 AM   #3
salzbermat
Green Mole
 
Join Date: Dec 2003
Posts: 5
Salut Charter,

thanks for the speedy response (again!).

As I thought the problem was that we use a script that turns GET variables to session variables, so $lim_start is already set to the value from the last search result display.

In order to resolve this, I changed in search_functions.php the following line:
if (isset($limit_start)) { $limit_start = $limite * floor($limit_start / $limite); }

to:

if (isset($_GET['lim_start'])) { $limit_start = $limite * floor($_GET['lim_start'] / $limite); } else { $limite=0; $lim_start=0; $limit_start=0; }

Now I'm not sure whether this makes sense in all scenarios, but it works here.
salzbermat is offline   Reply With Quote