X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=inventory%2Fmanage%2Fitem_units.php;h=af46ad54f35e7384abf849e328d86e02f4dfa980;hb=a3616fe8abf36ba9a2ba9ba63689475b1c8978b8;hp=249c09d252b2a42a75790fbb76fac0f0a4bf4f56;hpb=fa43a9c974d05b77517a0d8e3e510ef4a088632e;p=fa-stable.git diff --git a/inventory/manage/item_units.php b/inventory/manage/item_units.php index 249c09d2..af46ad54 100644 --- a/inventory/manage/item_units.php +++ b/inventory/manage/item_units.php @@ -90,7 +90,7 @@ if ($Mode == 'RESET') $result = get_all_item_units(check_value('show_inactive')); start_form(); -start_table(TABLESTYLE, "width=40%"); +start_table(TABLESTYLE, "width='40%'"); $th = array(_('Unit'), _('Description'), _('Decimals'), "", ""); inactive_control_column($th); @@ -105,7 +105,7 @@ while ($myrow = db_fetch($result)) label_cell($myrow["abbr"]); label_cell($myrow["name"]); label_cell(($myrow["decimals"]==-1?_("User Quantity Decimals"):$myrow["decimals"])); - $id = htmlentities($myrow["abbr"]); + $id = html_specials_encode($myrow["abbr"]); inactive_control_cell($id, $myrow["inactive"], 'item_units', 'abbr'); edit_button_cell("Edit".$id, _("Edit")); delete_button_cell("Delete".$id, _("Delete")); @@ -149,4 +149,3 @@ end_form(); end_page(); -?>