From 78fa15afc1b43826fe19c0429cc2244fd5602d44 Mon Sep 17 00:00:00 2001 From: skodak Date: Tue, 2 Oct 2007 15:24:19 +0000 Subject: [PATCH] fixed typo in last commit - undefined $sql --- lib/dmllib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/dmllib.php b/lib/dmllib.php index 4adf3f2bb48..2c4337a7bd8 100644 --- a/lib/dmllib.php +++ b/lib/dmllib.php @@ -100,7 +100,7 @@ function execute_sql($command, $feedback=true) { notify('' . get_string('error') . ''); } // these two may go to difference places - debugging($db->ErrorMsg() .'

'. $sql); + debugging($db->ErrorMsg() .'

'. $command); if (!empty($CFG->dblogerror)) { $debug=array_shift(debug_backtrace()); error_log("SQL ".$db->ErrorMsg()." in {$debug['file']} on line {$debug['line']}. STATEMENT: $command");