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

Commit edbaad3f authored by clint's avatar clint

off-by-one error?

parent fea0b761
......@@ -132,7 +132,7 @@ for($i = 0; $i < count($_POST['a']); $i++) {
$mdb2->exec("BEGIN");
for($j = 0; $j <= $actualcount; $j++) {
for($j = 0; $j < $actualcount; $j++) {
// Scrobble!
$sql = "INSERT INTO Scrobbles (username, artist, album, track, time, mbid, source, rating, length) VALUES " . $rowvalues[$j];
......
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