mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
NOBUG. Typo
This commit is contained in:
parent
628dff250f
commit
a0394be409
1 changed files with 1 additions and 1 deletions
|
@ -360,7 +360,7 @@ function prepare_error_message($errorcode, $module, $link, $a) {
|
||||||
* @return string formatted backtrace, ready for output.
|
* @return string formatted backtrace, ready for output.
|
||||||
*/
|
*/
|
||||||
function format_backtrace($callers, $plaintext = false) {
|
function format_backtrace($callers, $plaintext = false) {
|
||||||
// do not use $CFG->dirroot because it might not be available in desctructors
|
// do not use $CFG->dirroot because it might not be available in destructors
|
||||||
$dirroot = dirname(dirname(__FILE__));
|
$dirroot = dirname(dirname(__FILE__));
|
||||||
|
|
||||||
if (empty($callers)) {
|
if (empty($callers)) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue