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

Commit 83ba267f authored by Mike Sheldon's avatar Mike Sheldon

Fix infinite loop in banned song check

parent c0cfca13
......@@ -83,6 +83,7 @@ for($i=0; $i<count($tr); $i++) {
. 'AND userid = ' . $user->uniqueid);
if ($banned) {
// This track has been banned by the user, so select another one
$tr[$i] = rand(0, $avail-1);
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