Double semicolon line endings fixed by @apmuthu.
[fa-stable.git] / sales / includes / db / customers_db.inc
index 675e1b736c6e589cce25403e049e9bc72586e769..0dfc17e28e85fa9ddf1ad0de89fa026fb6b9b700 100644 (file)
@@ -55,7 +55,7 @@ function delete_customer($customer_id)
        begin_transaction();
        delete_entity_contacts('customer', $customer_id);
 
-       $sql = "DELETE FROM ".TB_PREF."debtors_master WHERE debtor_no=".db_escape($customer_id);;
+       $sql = "DELETE FROM ".TB_PREF."debtors_master WHERE debtor_no=".db_escape($customer_id);
        db_query($sql,"cannot delete customer");
        commit_transaction();
 }