Skip to content

Commit

Permalink
Некорректное описание ошибки
Browse files Browse the repository at this point in the history
  • Loading branch information
rsd2302 authored Jan 8, 2020
1 parent 77d157d commit c7cd960
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/payments/payboxkz.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
$bCheckResult = 0;

if(empty($order_info) || !in_array($order_info['status'], $arrPendingStatuses))
$error_desc = "Товар не доступен. Либо заказа нет, либо его статус " . !empty($arrStatuses[$order_info['status']]) ? $arrStatuses[$order_info['status']] : $order_info['status'];
$error_desc = "Товар не доступен. Либо заказа нет, либо его статус " . (!empty($arrStatuses[$order_info['status']]) ? $arrStatuses[$order_info['status']] : $order_info['status']);
elseif($arrRequest['pg_amount'] != $order_info['total'])
$error_desc = "Неверная сумма";
else
Expand Down

0 comments on commit c7cd960

Please sign in to comment.