From: Joe Hunt Date: Wed, 1 Oct 2008 23:19:53 +0000 (+0000) Subject: When deleting the last module in FA a parce error arose X-Git-Tag: 2.3-final~1420 X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=commitdiff_plain;h=f3123ed641f15e1a4abcacda73569a199d211bfe;p=fa-stable.git When deleting the last module in FA a parce error arose --- diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 862a35e1..01d519e0 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -19,6 +19,11 @@ Legend: ! -> Note $ -> Affected files +01-Oct-2008 Joe Hunt +# When deleting the last module in FA a parce error arose: +$ /admin/inst_module.php + /admin/inst_lang.php + 30-Sep-2008 Janusz Dobrowolski # Bug [0000067] Settled supplier documents were displayed as overdued. $ /purchasing/inquiry/supplier_inquiry.php diff --git a/admin/inst_lang.php b/admin/inst_lang.php index 98776618..bd23d383 100644 --- a/admin/inst_lang.php +++ b/admin/inst_lang.php @@ -95,7 +95,8 @@ function write_lang() $msg .= "*/\n\n\n"; $msg .= "\$installed_languages = array (\n"; - $msg .= "\t0 => "; + if ($n > 0) + $msg .= "\t0 => "; for ($i = 0; $i < $n; $i++) { if ($i > 0) diff --git a/admin/inst_module.php b/admin/inst_module.php index d0d8a366..1e001768 100644 --- a/admin/inst_module.php +++ b/admin/inst_module.php @@ -130,7 +130,8 @@ function write_modules() $msg .= "\n\n"; $msg .= "\$installed_modules = array (\n"; - $msg .= "\t0 => "; + if ($n > 0) + $msg .= "\t0 => "; for ($i = 0; $i < $n; $i++) { if ($i > 0) diff --git a/manufacturing/view/wo_issue_view.php b/manufacturing/view/wo_issue_view.php index e3ba38bc..b82eb3b5 100644 --- a/manufacturing/view/wo_issue_view.php +++ b/manufacturing/view/wo_issue_view.php @@ -31,6 +31,7 @@ function display_wo_issue($issue_no) $myrow = get_work_order_issue($issue_no); + br(1); start_table($table_style); $th = array(_("Issue #"), _("Reference"), _("For Work Order #"), _("Item"), _("From Location"), _("To Work Centre"), _("Date of Issue"));