FIxed to use the new debugging function

This commit is contained in:
moodler
2006-09-18 09:13:04 +00:00
parent 65becbc3ef
commit fdb1cf2cc1
21 changed files with 50 additions and 96 deletions
+1 -1
View File
@@ -338,7 +338,7 @@
//Update record
$assignment->description = addslashes($result);
$status = update_record("assignment",$assignment);
if ($CFG->debug>7) {
if (debugging()) {
if (!defined('RESTORE_SILENTLY')) {
echo '<br /><hr />'.s($content).'<br />changed to<br />'.s($result).'<hr /><br />';
}