fixed php warning

This commit is contained in:
Botanic 2013-10-24 04:10:39 -07:00
parent aa92d18666
commit ddb06c7f8c

View file

@ -55,9 +55,11 @@
<label class="control-label">username</label>
<div class="controls">
<select style="width: 140px;" name="Name">
{foreach from=$users item=member}
<option value="{$member.name}" >{$member.name}</option>
{/foreach}
{if isset($users)}
{foreach from=$users item=member}
<option value="{$member.name}" >{$member.name}</option>
{/foreach}
{/if}
</select>
</div>
</div>