diff --git a/webht/third_party/pay/views/payment_list.php b/webht/third_party/pay/views/payment_list.php index 14a20a8f..87fcf563 100644 --- a/webht/third_party/pay/views/payment_list.php +++ b/webht/third_party/pay/views/payment_list.php @@ -207,7 +207,7 @@ if ($item->OPN_accountStatus !== 'recorded') { $send_class = 'btn-danger'; } - if ($item->OPN_noticeSendStatus !== 'send' || substr($item->OPN_noticeSendStatus, 0, 5) !== 'send-') { + if ($item->OPN_noticeSendStatus !== 'send' && substr($item->OPN_noticeSendStatus, 0, 5) !== 'send-') { $send_class = 'btn-danger'; } if ($item->OPN_noticeSendStatus === 'closed') {