diff --git a/site/models/customer.php b/site/models/customer.php index 22a1055..efaeb19 100644 --- a/site/models/customer.php +++ b/site/models/customer.php @@ -247,10 +247,10 @@ class Customer extends AppModel { return; } - // REVISIT : 20090812 - // updateLeaseCount is handled directly when needed. - // Should we simplify by just doing it anyway? - //$this->updateLeaseCount($id); + // updateLeaseCount is typically handled directly when needed. + // However, this function is used to _ensure_ customer info is + // current, so we're obligated to call it anyway. + $this->updateLeaseCount($id); $current_leases = $this->find('all',