FIxed to use the new debugging function
This commit is contained in:
@@ -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 />';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user