From 5633445f595543f2ec6d9b0f725f73c27cab4840 Mon Sep 17 00:00:00 2001 From: Sam Hemelryk Date: Mon, 7 Dec 2009 06:06:58 +0000 Subject: [PATCH] glossary MDL-19809 Fixed deprecated call to error --- mod/glossary/showentry.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/glossary/showentry.php b/mod/glossary/showentry.php index a395c9d6f6..b02f7f387f 100644 --- a/mod/glossary/showentry.php +++ b/mod/glossary/showentry.php @@ -36,7 +36,7 @@ if ($eid) { $entries = glossary_get_entries_search($concept, $courseid); } else { - error('No valid entry specified'); + print_error('invalidelementid'); } if ($entries) { -- 2.39.5