summaryrefslogtreecommitdiff
path: root/manager
diff options
context:
space:
mode:
Diffstat (limited to 'manager')
-rw-r--r--manager/application/controllers/ManageAccountController.php2
-rw-r--r--manager/application/views/scripts/manage-account/batch-assurance.phtml2
2 files changed, 2 insertions, 2 deletions
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 @@
</tr>
</thead>
<tbody>
- <?php foreach ($this->assurancesDone as $i => $assurance) {?>
+ <?php foreach ($this->assurances as $i => $assurance) {?>
<tr>
<td><?php print $i ?></td>
<td><?php print $assurance['assuree'] ?></td>