mirror of
https://github.com/moodle/moodle.git
synced 2025-08-03 08:09:47 +02:00
MDL-14129, fix incorrect print_error() call
This commit is contained in:
parent
6e7ead3ea9
commit
c85fac1ff1
3 changed files with 3 additions and 2 deletions
|
@ -35,7 +35,7 @@
|
|||
$image = $args[0];
|
||||
$pathname = $CFG->dataroot.'/filter/algebra/'.$image;
|
||||
} else {
|
||||
print_error('No valid arguments supplied');
|
||||
print_error('invalidarguments', 'error');
|
||||
}
|
||||
|
||||
if (!file_exists($pathname)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue