GitHost.io will be shut down on June 1, 2019. At that point this instance will be unreachable and all data will be irrevocably deleted. More details at https://about.gitlab.com/gitlab-hosted/#githost-is-shutting-down-on-june-1st-2019

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