MDL-53538 mod_data: Show no records message instead of error.
authorAdrian Greeve <adrian@moodle.com>
Fri, 18 Mar 2016 01:54:44 +0000 (09:54 +0800)
committerAdrian Greeve <adrian@moodle.com>
Tue, 22 Mar 2016 06:22:26 +0000 (14:22 +0800)
commit53934bd0a9f3db966f8301686a0228f6fa41d217
tree55f2a120b4c3ebe7f2851841ca183530b3855019
parentfed66ad9e2efd3a88a42298a5d6bf71dada3ffd7
MDL-53538 mod_data: Show no records message instead of error.

When there are no records in the database module and a user
does an advanced search. Show a message that there are no entries
in the database.
mod/data/lib.php