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

Commit a8315df1 authored by Daniel Watkins's avatar Daniel Watkins

Add some error checking to explore.php.

parent 648fd359
......@@ -24,7 +24,10 @@ require_once("database.php");
$smarty->assign("topartists", Server::getTopArtists(20));
$aTopArtists = Server::getTopArtists(20);
if (!PEAR::isError ($aTopArtists)) {
$smarty->assign("topartists", $aTopArtists);
$smarty->assign("explore", true);
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