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

Commit 821f2305 authored by clint's avatar clint

proper paren placement

parent 26c6ef31
......@@ -143,8 +143,8 @@ function getScrobbleTrackCreateIfNew($artist, $album, $track, $mbid, $tid) {
$sql = "INSERT INTO Scrobble_Track (name, artist, album, mbid, track) VALUES ("
. "lower(" . ($track) . "), "
. "lower(" . ($artist) . "), "
. (($album == 'NULL') ? "NULL" : "lower(" . ($album)) . "), "
. (($mbid == 'NULL') ? "NULL" : "lower(" . ($mbid)) . "), "
. (($album == 'NULL') ? "NULL" : "lower(" . ($album) . ")") . ", "
. (($mbid == 'NULL') ? "NULL" : "lower(" . ($mbid) . ")") . ", "
. ($tid) . ")";
$res = $mdb2->exec($sql);
if(PEAR::isError($res)) {
......
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