]> git.mjollnir.org Git - moodle.git/commitdiff
fixed typo in last commit - undefined $sql
authorskodak <skodak>
Tue, 2 Oct 2007 15:24:19 +0000 (15:24 +0000)
committerskodak <skodak>
Tue, 2 Oct 2007 15:24:19 +0000 (15:24 +0000)
lib/dmllib.php

index 4adf3f2bb48334d6660eb4450f47674fb50070e1..2c4337a7bd85c2799e1440bb981222de72226eb0 100644 (file)
@@ -100,7 +100,7 @@ function execute_sql($command, $feedback=true) {
             notify('<strong>' . get_string('error') . '</strong>');
         }
         // these two may go to difference places
-        debugging($db->ErrorMsg() .'<br /><br />'. $sql);
+        debugging($db->ErrorMsg() .'<br /><br />'. $command);
         if (!empty($CFG->dblogerror)) {
             $debug=array_shift(debug_backtrace());
             error_log("SQL ".$db->ErrorMsg()." in {$debug['file']} on line {$debug['line']}. STATEMENT:  $command");