-
- inactive_control_cell($myrow["abbr"], $myrow["inactive"], 'item_units', 'abbr');
- edit_button_cell("Edit".$myrow["abbr"], _("Edit"));
- delete_button_cell("Delete".$myrow["abbr"], _("Delete"));
+ $id = htmlentities($myrow["abbr"]);
+ inactive_control_cell($id, $myrow["inactive"], 'item_units', 'abbr');
+ edit_button_cell("Edit".$id, _("Edit"));
+ delete_button_cell("Delete".$id, _("Delete"));