From 18866c3157aae7666ee26e4faf4c708170de2854 Mon Sep 17 00:00:00 2001 From: Y Date: Tue, 26 Jan 2016 19:55:42 +0100 Subject: [PATCH] no result to display if the list is empty --- web/paperweb.php | 26 ++++++++++++++++---------- 1 file changed, 16 insertions(+), 10 deletions(-) diff --git a/web/paperweb.php b/web/paperweb.php index 4257206..cc1a82f 100644 --- a/web/paperweb.php +++ b/web/paperweb.php @@ -62,30 +62,36 @@ if (array_key_exists('doDownload', $_REQUEST)) { $json = @$_REQUEST['queryDone']; } if ($json) { - $current = (array_key_exists('doThumbnails', $_REQUEST) ? $_REQUEST['doThumbnails'] : @$_REQUEST['currentDoc']); + if ($json == '[]') { +?> +

No result.

+

Documents found