From: Joe Hunt Date: Mon, 28 Aug 2017 19:16:12 +0000 (+0200) Subject: Fix for too many parameters in submit_return. X-Git-Tag: v2.4.3~53 X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=commitdiff_plain;h=87a27221d33ab1741603d28369ec2fbf56da5a33;p=fa-stable.git Fix for too many parameters in submit_return. --- diff --git a/inventory/manage/items.php b/inventory/manage/items.php index 86472085..a2e2f274 100644 --- a/inventory/manage/items.php +++ b/inventory/manage/items.php @@ -536,10 +536,11 @@ function item_settings(&$stock_id, $new_item) } else { + if (@$_REQUEST['popup']) hidden('popup', 1); submit_center_first('addupdate', _("Update Item"), '', $page_nested ? true : 'default'); submit_return('select', get_post('stock_id'), - _("Select this items and return to document entry."), 'default'); + _("Select this items and return to document entry.")); submit('clone', _("Clone This Item"), true, '', true); submit('delete', _("Delete This Item"), true, '', true); submit_center_last('cancel', _("Cancel"), _("Cancel Edition"), 'cancel');