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

Extra check to avoid sending false to url helper.

parent d0963ae5
Branches
Tags
No related merge requests found
...@@ -64,7 +64,9 @@ ...@@ -64,7 +64,9 @@
<? else: ?> <? else: ?>
<? $i = 0; foreach ($sortedList as $url => $value): ?> <? $i = 0; foreach ($sortedList as $url => $value): ?>
<? if (++$i > 12): ?> <? if (++$i > 12): ?>
<li><a href="<?=$this->url($advSearch)?>"><strong><?=$this->transEsc("More options")?>...</strong></a></li> <? if ($advSearch): ?>
<li><a href="<?=$this->url($advSearch)?>"><strong><?=$this->transEsc("More options")?>...</strong></a></li>
<? endif; ?>
<? break; ?> <? break; ?>
<? else: ?> <? else: ?>
<li><a href="<?=$url?>"><?=$this->escapeHtml($value)?></a></li> <li><a href="<?=$url?>"><?=$this->escapeHtml($value)?></a></li>
......
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