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

Commit 9b9c3fda authored by clint's avatar clint

adodb fixup

parent d0bf7a0b
......@@ -112,7 +112,7 @@ function getTrackCreateIfNew($artist, $album, $track, $mbid) {
die("FAILED trk " . $res->getMessage() . "\n");
}
if(!$res->numRows()) {
if(!$res) {
// Create new track
$res = $adodb->Execute("INSERT INTO Track (name, artist_name, album_name, mbid) VALUES ("
. ($track) . ", "
......
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