Removed some bugs in Imlpementation of club's details
This commit is contained in:
@@ -54,10 +54,9 @@ defined('_JEXEC') or die;
|
||||
<tr>
|
||||
<td>Vorsitzende/r</td>
|
||||
<td>
|
||||
<!-- <input type='text' name='president' value='<?php echo htmlentities($this->object->getName()); ?>'> -->
|
||||
<select name='president'>
|
||||
<?php foreach($this->users as $u): ?>
|
||||
<option value='<?php echo $u->getId(); ?>' <?php if ($this->object->getPresident()->getId() == $u->getId()) echo 'selected="selected"'; ?>>
|
||||
<option value='<?php echo $u->getId(); ?>' <?php if ($this->object->getPresident() !== null && $this->object->getPresident()->getId() == $u->getId()) echo 'selected="selected"'; ?>>
|
||||
<?php echo htmlentities("{$u->getName()}, {$u->getCity()}"); ?>
|
||||
</option>
|
||||
<?php endforeach; ?>
|
||||
|
||||
Reference in New Issue
Block a user