diff --git a/www/client/answer.php b/www/client/answer.php index 38de7a48b4..e121d22376 100644 --- a/www/client/answer.php +++ b/www/client/answer.php @@ -92,7 +92,6 @@ else $mod_col = (int) ($mod[1]); } $mod_xy = $mod_col * $mod_row; - $tbases = array(); @@ -130,7 +129,7 @@ else $form = serialize($options); -$perPage = (int) $user->getPrefs('images_per_page'); +$perPage = $mod_xy; $search_engine = new searchEngine_adapter($registry); $search_engine->set_options($options); diff --git a/www/client/index.php b/www/client/index.php index 52b0da2c6b..0b560e6dbe 100644 --- a/www/client/index.php +++ b/www/client/index.php @@ -101,6 +101,14 @@ if ($cssfile) +