X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=sql%2Falter2.3.php;h=7705f261fd221251ee7c96f935282e82354a887a;hb=90b3d069d96b99671af51726e2953352738abb75;hp=c4071f974556e360b71ac35b89a27b7c2c0f5aaf;hpb=e9782c04faf09dd040dbc0c908cdb6e6d4f0dcfc;p=fa-stable.git diff --git a/sql/alter2.3.php b/sql/alter2.3.php index c4071f97..7705f261 100644 --- a/sql/alter2.3.php +++ b/sql/alter2.3.php @@ -28,6 +28,7 @@ class fa2_3 { { global $db_version, $dflt_lang; + $this->preconf = $this->fix_extensions(); if (!$this->preconf) return false; @@ -35,7 +36,7 @@ class fa2_3 { // all specials below are already done on 2.3beta $sql = "SELECT debtor_no, payment_terms FROM ".TB_PREF."debtors_master"; - + $result = db_query($sql); if (!$result) { display_error("Cannot read customers" @@ -110,7 +111,6 @@ class fa2_3 { // function installed($pref) { $this->beta = !check_table($pref, 'suppliers', 'tax_included'); - $this->preconf = $this->fix_extensions(); $n = 1; // number of patches to be installed $patchcnt = 0;