Skip to content

Commit

Permalink
BO: fix order status bulk update (#BOOM-974)
Browse files Browse the repository at this point in the history
  • Loading branch information
antho-girard committed Aug 1, 2016
1 parent e03d3b9 commit ba2abca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/admin/AdminOrdersController.php
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ public function processBulkUpdateOrderStatus()
{
if (Tools::isSubmit('submitUpdateOrderStatus')
&& ($id_order_state = (int)Tools::getValue('id_order_state'))) {
if ($this->access('edit') !== '1') {
if (true != $this->access('edit')) {
$this->errors[] = $this->trans('You do not have permission to edit this.', array(), 'Admin.Notifications.Error');
} else {
$order_state = new OrderState($id_order_state);
Expand Down

0 comments on commit ba2abca

Please sign in to comment.