summaryrefslogtreecommitdiff
path: root/manager
diff options
context:
space:
mode:
authorMichael Tänzer <neo@nhng.de>2011-07-05 19:21:06 +0200
committerMichael Tänzer <neo@nhng.de>2011-07-05 19:21:06 +0200
commit582357352c1306c78a197816804492f230fa4f2f (patch)
tree2e53233e3a69bb360d656963bae67bb445681179 /manager
parent118cf4383eb89f4a42bdcd2e106a96cc71c9f557 (diff)
downloadcacert-mgr-582357352c1306c78a197816804492f230fa4f2f.tar.gz
cacert-mgr-582357352c1306c78a197816804492f230fa4f2f.tar.xz
cacert-mgr-582357352c1306c78a197816804492f230fa4f2f.zip
Doh, copy and paste error
Signed-off-by: Michael Tänzer <neo@nhng.de>
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>