Skip to content

Commit

Permalink
Merge branch 'MDL-54963_31' of git://github.com/dmonllao/moodle into …
Browse files Browse the repository at this point in the history
…MOODLE_31_STABLE
  • Loading branch information
danpoltawski committed Jul 18, 2016
2 parents 19722fb + cc145bf commit bff5af2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion search/index.php
Expand Up @@ -109,7 +109,7 @@

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');
}

Expand Down

0 comments on commit bff5af2

Please sign in to comment.