From: erickson Date: Tue, 18 Jul 2006 17:23:21 +0000 (+0000) Subject: fixed var names X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=a971a3b5344c15a3bc359ff4064ed38652d33b75;p=Evergreen.git fixed var names git-svn-id: svn://svn.open-ils.org/ILS/trunk@5062 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/src/javascript/backend/penalty/patron_penalty.js b/Open-ILS/src/javascript/backend/penalty/patron_penalty.js index 880f64fd93..f297a57dc6 100644 --- a/Open-ILS/src/javascript/backend/penalty/patron_penalty.js +++ b/Open-ILS/src/javascript/backend/penalty/patron_penalty.js @@ -9,11 +9,11 @@ var config = findGroupConfig(patronProfile); if( config ) { /* check the fine limit */ - if( config.fineLimit >= 0 && patronFines >= config.fineThreshold ) + if( config.fineThreshold >= 0 && patronFines >= config.fineThreshold ) result.fatalEvents.push('PATRON_EXCEEDS_FINES'); /* check the overdue limit */ - if( config.overdueLimit >= 0 && patronOverdueCount >= config.overdueThreshold ) + if( config.overdueThreshold >= 0 && patronOverdueCount >= config.overdueThreshold ) result.fatalEvents.push('PATRON_EXCEEDS_OVERDUE_COUNT'); } else {