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

Commit b73e0513 authored by jurgbohn's avatar jurgbohn

Prepend $base_url to empty albumart

parent 90cd205b
......@@ -76,7 +76,7 @@ class Album {
$res = $mdb2->query("SELECT image from Album WHERE name =" . $mdb2->quote($this->name, 'text'));
if(!$res->numRows()) {
$c = "/i/qm160.png";
$c = $base_url . "/i/qm160.png";
} else {
$row = sanitize($res->fetchRow(MDB2_FETCHMODE_ASSOC));
$c = $row['image'];
......
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