diff --git a/phpgwapi/inc/class.egw_db.inc.php b/phpgwapi/inc/class.egw_db.inc.php index 285c1a1c6a..234b463d5b 100644 --- a/phpgwapi/inc/class.egw_db.inc.php +++ b/phpgwapi/inc/class.egw_db.inc.php @@ -274,6 +274,7 @@ class egw_db $this->$var = $db_data[$key]; } } +//if ($GLOBALS['egw_info']['server']['default_domain'] == 'ralfsmacbook.local') $this->query_log = '/tmp/query.log'; } /** @@ -846,7 +847,7 @@ class egw_db if ($id === False) // function not supported { echo "
db::get_last_insert_id(table='$table',field='$field') not yet implemented for db-type '$this->Type' OR no insert operation before
\n"; - function_backtrace(); + echo ''.function_backtrace()."
\n"; return -1; } return $id;