projects
/
platal.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
412e2e0
)
Indicates there is no results on avdanced search when appropriate?
author
Stéphane Jacob
<sj@m4x.org>
Fri, 16 Jul 2010 10:07:30 +0000
(12:07 +0200)
committer
Stéphane Jacob
<sj@m4x.org>
Fri, 16 Jul 2010 10:10:24 +0000
(12:10 +0200)
Signed-off-by: Stéphane Jacob <sj@m4x.org>
modules/search.php
patch
|
blob
|
blame
|
history
diff --git
a/modules/search.php
b/modules/search.php
index
4386c99
..
72a09ac
100644
(file)
--- a/
modules/search.php
+++ b/
modules/search.php
@@
-169,6
+169,9
@@
class SearchModule extends PLModule
if ($nb_tot > $globals->search->private_max) {
$this->form_prepare();
$page->trigError('Recherche trop générale.');
+ } else if ($nb_tot == 0) {
+ $this->form_prepare();
+ $page->trigError('Il n\'existe personne correspondant à ces critères dans la base !');
}
}