Doh, copy and paste error
authorMichael Tänzer <neo@nhng.de>
Tue, 5 Jul 2011 17:21:06 +0000 (19:21 +0200)
committerMichael Tänzer <neo@nhng.de>
Tue, 5 Jul 2011 17:21:06 +0000 (19:21 +0200)
Signed-off-by: Michael Tänzer <neo@nhng.de>
manager/application/controllers/ManageAccountController.php
manager/application/views/scripts/manage-account/batch-assurance.phtml

index e012318..7cbc261 100644 (file)
@@ -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']);
             }
index 4e0ae82..b13d226 100644 (file)
@@ -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>