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

Commit e0ed8b05 authored by Matt Pugh's avatar Matt Pugh

Merge branch 'master' of git://gitorious.org/foocorp/gnu-fm

parents 52c978db 9a1fe265
......@@ -25,9 +25,11 @@ require_once('data/sanitize.php');
require_once('data/Server.php');
require_once('data/TagCloud.php');
$aTagCloud = TagCloud::GenerateTagCloud('loved_tracks', 'artist');
if ($aTagCloud) {
try {
$aTagCloud = TagCloud::GenerateTagCloud('loved_tracks', 'artist');
$smarty->assign('tagcloud', $aTagCloud);
} catch(Exception $ex) {
// Installation doesn't have any loved tracks yet
}
$smarty->assign('headerfile', 'welcome-header.tpl');
......
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