Stable merged into unstable again (due to failure on binary file during previous...
[fa-stable.git] / sql / alter2.3.php
index c4071f974556e360b71ac35b89a27b7c2c0f5aaf..7705f261fd221251ee7c96f935282e82354a887a 100644 (file)
@@ -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;