We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 53fe2b79 authored by Matt Lee's avatar Matt Lee

check for null albums, ignore them.

parent 1af43326
......@@ -11,9 +11,10 @@
<ul>
{section name=i loop=$albums}
{if $albums[i]->name}
<li about="{$albums[i]->id}" property="dc:title" content="{$albums[i]->name|escape:'html':'UTF-8'}" typeof="mo:Record" class="haudio">
<a rel="foaf:page" href="{$albums[i]->getURL()}">{$albums[i]->name|escape:'html':'UTF-8'}</a>
</li>
</li>{/if}
{/section}
</ul>
......
Markdown is supported
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