Doh, copy and paste error

Signed-off-by: Michael Tänzer <neo@nhng.de>
This commit is contained in:
Michael Tänzer 2011-07-05 19:21:06 +02:00
parent 118cf4383e
commit 582357352c
2 changed files with 2 additions and 2 deletions

View file

@ -104,7 +104,7 @@ class ManageAccountController extends Zend_Controller_Action
$assuree = $user->findNewAssuree(); $assuree = $user->findNewAssuree();
if ($values['percentage'] === 'percentage') { if ($values['percentage'] === 'percentage') {
$points = ($user->maxpoints() * intval($values['points']) /100); $points = ($user->maxpoints() * intval($values['points'])) /100;
}elseif ($values['percentage'] === 'absolute') { }elseif ($values['percentage'] === 'absolute') {
$points = intval($values['points']); $points = intval($values['points']);
} }

View file

@ -17,7 +17,7 @@
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
<?php foreach ($this->assurancesDone as $i => $assurance) {?> <?php foreach ($this->assurances as $i => $assurance) {?>
<tr> <tr>
<td><?php print $i ?></td> <td><?php print $i ?></td>
<td><?php print $assurance['assuree'] ?></td> <td><?php print $assurance['assuree'] ?></td>