X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=sql%2Falter2.2.php;h=89d9f1ffd86e398ce845ad1def019f70d644e326;hb=498f13d19b716779a3b986ff399121fb2ac9a53a;hp=386e9623ec7d861d4919acd18d48cb219fe6fce1;hpb=ea1ac6e8c569745bd4099d47936f6dfe86b8b9d4;p=fa-stable.git diff --git a/sql/alter2.2.php b/sql/alter2.2.php index 386e9623..89d9f1ff 100644 --- a/sql/alter2.2.php +++ b/sql/alter2.2.php @@ -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; }