Skip to content
Snippets Groups Projects
Commit 79779445 authored by Demian Katz's avatar Demian Katz
Browse files

Fixed bug -- incorrect list drop-down when no lists have been created yet.

parent 97092a41
No related merge requests found
......@@ -20,7 +20,7 @@
<label class="displayBlock" for="save_list"><?=$this->transEsc('Choose a List') ?></label>
<select id="save_list" name="list">
<? if ($this->lists): ?>
<? if (count($this->lists) > 0): ?>
<? foreach ($this->lists as $list): ?>
<option value="<?=$list['id'] ?>"<? if ($list['id']==$this->userList()->lastUsed()): ?> selected="selected"<? endif; ?>><?=$this->escapeHtml($list['title'])?></option>
<? endforeach; ?>
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment