git.gnu.io has moved to IP address 209.51.188.249 -- please double check where you are logging in.

Commit f7b22a9f authored by mattl's avatar mattl

remove lower insert

parent 060a984f
......@@ -123,10 +123,10 @@ function getScrobbleTrackCreateIfNew($artist, $album, $track, $mbid) {
$tid = getTrackCreateIfNew($artist, $album, $track, $mbid);
$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 . ')') . ', '
. $track . ', '
. $artist . ', '
. (($album == 'NULL') ? 'NULL' : $album . ', '
. (($mbid == 'NULL') ? 'NULL' : '$mbid . ', '
. $tid . ')';
$res = $adodb->Execute($sql);
return getScrobbleTrackCreateIfNew($artist, $album, $track, $mbid);
......
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