diff --git a/ConfirmDispatch_Invoice.php b/ConfirmDispatch_Invoice.php index c5ecfacb6..09f67913a 100644 --- a/ConfirmDispatch_Invoice.php +++ b/ConfirmDispatch_Invoice.php @@ -882,7 +882,6 @@ $ErrMsg =_('CRITICAL ERROR') . '! ' . _('NOTE DOWN THIS ERROR AND SEEK ASSISTANCE') . ': ' . _('The debtor transaction record could not be inserted because'); $DbgMsg = _('The following SQL to insert the debtor transaction record was used'); $Result = DB_query($SQL,$ErrMsg,$DbgMsg,true); - $DebtorTransID = DB_Last_Insert_ID('debtortrans','id'); /* Insert the tax totals for each tax authority where tax was charged on the invoice */ @@ -1833,4 +1832,4 @@ echo ''; include('includes/footer.php'); -?> \ No newline at end of file +?> diff --git a/DeliveryDetails.php b/DeliveryDetails.php index 630dc6f3b..48cbe9db8 100644 --- a/DeliveryDetails.php +++ b/DeliveryDetails.php @@ -1086,7 +1086,7 @@