has moved to IP address -- please double check where you are logging in.

Commit 7fb20555 authored by Kuno's avatar Kuno

Refer to the Scrobbles table using the proper case (not scrobbles).

parent 8e391ebe
......@@ -125,7 +125,7 @@ class UserXML {
return(XML::error('error', '7', 'Invalid resource specified'));
$totalPages = $adodb->GetOne('SELECT COUNT(track) FROM scrobbles WHERE userid = ' . $user->uniqueid);
$totalPages = $adodb->GetOne('SELECT COUNT(track) FROM Scrobbles WHERE userid = ' . $user->uniqueid);
$totalPages = ceil($totalPages / $limit);
$xml = new SimpleXMLElement('<lfm status="ok"></lfm>');
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