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
@@ -81,7 +81,7 @@
//Update record
$label->content = addslashes($result);
$status = update_record("label", $label);
if ($CFG->debug>7) {
if (debugging()) {
if (!defined('RESTORE_SILENTLY')) {
echo '<br /><hr />'.s($content).'<br />changed to<br />'.s($result).'<hr /><br />';
}