Skip to content

Commit

Permalink
$intval => intval
Browse files Browse the repository at this point in the history
  • Loading branch information
aquilax committed Nov 20, 2015
1 parent 7b27bcc commit 2c9da59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backoffice/notification_service.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ private function orderCreated($params, $storeId)
$fmOrder->create($order, $idOrderState, $taxAddressType, $skuTypeId);
}
} catch (Exception $e) {
$fmOrder->unreserve($intval($order->id));
$fmOrder->unreserve(intval($order->id));
return $this->fmOutput->showError(500, 'Internal Server Error', $e->getMessage());
}
return $this->fmOutput->output('OK');
Expand Down

0 comments on commit 2c9da59

Please sign in to comment.