NOBUG. Typo

This commit is contained in:
stronk7 2009-10-15 22:34:34 +00:00
parent 628dff250f
commit a0394be409

View file

@ -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)) {