MDL-32323 fix installer warning
This commit is contained in:
+1
-1
@@ -141,7 +141,7 @@ class moodle_exception extends Exception {
|
||||
$message = $module . '/' . $errorcode;
|
||||
}
|
||||
|
||||
if (PHPUNIT_TEST and $debuginfo) {
|
||||
if (defined('PHPUNIT_TEST') and PHPUNIT_TEST and $debuginfo) {
|
||||
$message = "$message ($debuginfo)";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user