From 9bf29a4474d9f044ce218bbf587e664be7bafba4 Mon Sep 17 00:00:00 2001 From: Romain Neutron Date: Thu, 16 Feb 2012 12:48:48 +0100 Subject: [PATCH] Fix client --- www/client/answer.php | 3 +-- www/client/index.php | 8 ++++++++ 2 files changed, 9 insertions(+), 2 deletions(-) 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) +