diff --git a/manager/application/controllers/ManageAccountController.php b/manager/application/controllers/ManageAccountController.php index e012318..7cbc261 100644 --- a/manager/application/controllers/ManageAccountController.php +++ b/manager/application/controllers/ManageAccountController.php @@ -104,7 +104,7 @@ class ManageAccountController extends Zend_Controller_Action $assuree = $user->findNewAssuree(); if ($values['percentage'] === 'percentage') { - $points = ($user->maxpoints() * intval($values['points']) /100); + $points = ($user->maxpoints() * intval($values['points'])) /100; }elseif ($values['percentage'] === 'absolute') { $points = intval($values['points']); } diff --git a/manager/application/views/scripts/manage-account/batch-assurance.phtml b/manager/application/views/scripts/manage-account/batch-assurance.phtml index 4e0ae82..b13d226 100644 --- a/manager/application/views/scripts/manage-account/batch-assurance.phtml +++ b/manager/application/views/scripts/manage-account/batch-assurance.phtml @@ -17,7 +17,7 @@
- assurancesDone as $i => $assurance) {?> + assurances as $i => $assurance) {?>