From f4098c71b518bb1756536b69aec3e3bc9789dd4a Mon Sep 17 00:00:00 2001 From: Xenomporio <> Date: Tue, 17 May 2022 23:13:54 +0200 Subject: [PATCH] Removed unnecessary typo fix liabilitiy_id --- www/lib/class.erpapi.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/www/lib/class.erpapi.php b/www/lib/class.erpapi.php index b3a8dd1a..e68ce755 100644 --- a/www/lib/class.erpapi.php +++ b/www/lib/class.erpapi.php @@ -8790,9 +8790,7 @@ if($stufe == 0 || $stufe == 3) $this->CheckTable('payment_transaction'); $this->CheckColumn('returnorder_id', 'INT(11)', 'payment_transaction','DEFAULT 0 NOT NULL'); - $this->CheckAlterTable( - "ALTER TABLE `payment_transaction` CHANGE `liabilitiy_id` `liability_id` INT(11) NOT NULL DEFAULT '0';" - ); + $this->CheckColumn('liability_id', 'INT(11)', 'payment_transaction','DEFAULT 0 NOT NULL'); $this->CheckColumn('payment_status', 'VARCHAR(32)', 'payment_transaction',"DEFAULT '' NOT NULL"); $this->CheckColumn('payment_account_id', 'INT(11)', 'payment_transaction','DEFAULT 0 NOT NULL');