//Then, all those errors, should be converted to
//mtrace() and return 0. (showing the current
//table/field/recordid)
- global $db, $CFG;
+
+ global $db, $CFG, $dbtablename, $fieldname, $record;
$debug = ($CFG->debug > 7);
@set_time_limit(0);
// a placeholder for now
function log_the_problem_somewhere() { //Eloy: Nice function, perhaps we could use it, perhpas no. :-)
- global $CFG, $dbtablename, $fieldname, $recordid;
+ global $CFG, $dbtablename, $fieldname, $record;
if ($CFG->debug>7) {
- echo "<br />Problem converting: $dbtablename -> $fieldname -> $recordid!";
+ echo "<br />Problem converting: $dbtablename -> $fieldname -> {$record->id}!";
}
}