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

Commit 54006113 authored by mattl's avatar mattl

apparently this needs to be there

parent 4ffecf27
......@@ -70,7 +70,7 @@ function createAlbumIfNew($artist, $album) {
// Album doesn't exist, so create it
$art = $mdb2->quote(getAlbumArt($artist, $album));
if ($art) {
if ($art !="") {
$license = $mdb2->quote("amazon");
$res = $mdb2->query("INSERT INTO Album (name, artist_name, image, artwork_license) VALUES (" . ($album) . ", " . ($artist) . ", " . ($art) . ", " . ($license) .")");
......
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