diff --git a/components/customsql/form.php b/components/customsql/form.php index 349ceefd..8ca44159 100644 --- a/components/customsql/form.php +++ b/components/customsql/form.php @@ -102,7 +102,7 @@ public function validation_high_security($data, $files) { } else if (strpos($sql, ';') !== false) { // Do not allow any semicolons. - $errors['querysql'] = get_string('nosemicolon', 'report_customsql'); + $errors['querysql'] = get_string('nosemicolon', 'block_configurable_reports'); } else if ($CFG->prefix != '' && preg_match('/\b' . $CFG->prefix . '\w+/i', $sql)) { // Make sure prefix is prefix_, not explicit.