NOBUG fix typo in exception message.

This commit is contained in:
Tim Hunt 2010-08-03 14:32:28 +00:00
parent 9aba73563d
commit 44fab7fa46

View file

@ -352,7 +352,7 @@ class page_requirements_manager {
if (debugging()) {
// check file existence only when in debug mode
if (!file_exists($CFG->dirroot . strtok($url, '?'))) {
throw new coding_exception('Attept to require a JavaScript file that does not exist.', $url);
throw new coding_exception('Attempt to require a JavaScript file that does not exist.', $url);
}
}
if (!empty($CFG->cachejs) and !empty($CFG->jsrev) and strpos($url, '/lib/editor/') !== 0) {