X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=gl%2Fbank_transfer.php;h=d08952e2ad4c8e1de51cf0a7013514ae1abd2494;hb=d859c6081f650d22eba97b13a298b681148d0d6d;hp=5ee924e8b744ed6a22b054dbe971748383a0e1ba;hpb=135f930853fe6991652d5dd9a3a066046e7dc611;p=fa-stable.git diff --git a/gl/bank_transfer.php b/gl/bank_transfer.php index 5ee924e8..d08952e2 100644 --- a/gl/bank_transfer.php +++ b/gl/bank_transfer.php @@ -139,7 +139,7 @@ function check_valid_entries() $amnt_tr = input_num('charge') + input_num('amount'); - if ($limit != null && floatcmp($limit, $amnt_tr) < 0) + if ($limit !== null && floatcmp($limit, $amnt_tr) < 0) { display_error(sprintf(_("The total bank amount exceeds allowed limit (%s) for source account."), price_format($limit))); set_focus('amount');