program/include/rcube_mdb2.php
@@ -330,7 +330,9 @@ if (!$this->db_handle || $this->db_mode=='r') return FALSE; return $this->db_handle->lastInsertID($sequence); $id = $this->db_handle->lastInsertID($sequence); return $this->db_handle->isError($id) ? null : $id; } @@ -701,8 +703,6 @@ { $debug_output = $scope . '('.$db->db_index.'): '; $debug_output .= $message . $db->getOption('log_line_break'); write_log('sqllog', $debug_output); write_log('sql', $debug_output); } }