Quipu - Fixes incorrect comparison operator quipu_fix_fines_bug
authorTerran McCanna <tmccanna@georgialibraries.org>
Tue, 14 Feb 2023 17:22:51 +0000 (12:22 -0500)
committerTerran McCanna <tmccanna@georgialibraries.org>
Tue, 14 Feb 2023 17:22:51 +0000 (12:22 -0500)
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm

index ffcda9a..4128249 100644 (file)
@@ -3695,7 +3695,7 @@ sub check_account_exp {
         $ctx->{account_renew_message} = '<div style="border:2px solid green;padding:5px;">Your account is
         due for renewal, but it cannot be renewed online. Please visit your nearest PINES
         library with your current ID and proof of address to update and renew your account.</div>';
-    } elsif ($ctx->{user_stats}->{fines}->{balance_owed} gt 0) { #user has fines
+    } elsif ($ctx->{user_stats}->{fines}->{balance_owed} > 0) { #user has fines
         $ctx->{account_renew_message} = '<div style="border:2px solid green;padding:5px;">Your account
         is due for renewal. Please pay your outstanding fines in order to renew your account.</div>';
     } else {