Minor bug in currency
[fa-stable.git] / sql / alter2.2.php
index 386e9623ec7d861d4919acd18d48cb219fe6fce1..89d9f1ffd86e398ce845ad1def019f70d644e326 100644 (file)
@@ -28,7 +28,7 @@ class fa2_2 {
        {
                global $db, $systypes_array;
                
-               if (!$preconf)
+               if (!$this->preconf)
                        return false;
                
                // set item category dflt accounts to values from company GL setup
@@ -248,7 +248,7 @@ function fix_extensions() {
                return true; // already converted
        
        if (!is_writable($path_to_root.'/modules/installed_modules.php')) {
-               display_error(_('Cannot upgrade extensions system: file /modules/installed_modules.php is no writeable'));
+               display_error(_('Cannot upgrade extensions system: file /modules/installed_modules.php is not writeable'));
                return false;
        }