GX-Bug #45542 » WithdrawalFix.patch
src/system/classes/withdrawals/WithdrawalModel.inc.php (revision ) | ||
---|---|---|
108 | 108 |
{ |
109 | 109 |
$sql_data_array['date_created'] = 'now()'; |
110 | 110 |
xtc_db_perform('withdrawals', $sql_data_array); |
111 |
$t_withdrawal_id = mysql_insert_id();
|
|
111 |
$t_withdrawal_id = xtc_db_insert_id();
|
|
112 | 112 |
} |
113 | 113 |
|
114 | 114 |
$this->set_withdrawal_id($t_withdrawal_id); |