Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
eab9f3d
)
Merge branch 'MDL-54963_master' of git://github.com/dmonllao/moodle
author
Dan Poltawski
<dan@moodle.com>
Mon, 18 Jul 2016 12:38:36 +0000
(13:38 +0100)
committer
Dan Poltawski
<dan@moodle.com>
Mon, 18 Jul 2016 12:38:36 +0000
(13:38 +0100)
search/index.php
patch
|
blob
|
blame
|
history
diff --git
a/search/index.php
b/search/index.php
index
e3399ee
..
92a3a0c
100644
(file)
--- a/
search/index.php
+++ b/
search/index.php
@@
-109,7
+109,7
@@
if ($data) {
if ($errorstr = $search->get_engine()->get_query_error()) {
echo $OUTPUT->notification(get_string('queryerror', 'search', $errorstr), 'notifyproblem');
-} else if (empty($results) && !empty($data)) {
+} else if (empty($results
->totalcount
) && !empty($data)) {
echo $OUTPUT->notification(get_string('noresults', 'search'), 'notifymessage');
}