UniversityRadioYork/MyRadio — pull request #265 by Eiron (2014-12-24 12:55:46+00:00)
Title: Removing array_merge

array_merge can have some funny behaviour from what I have been reading. For instance if $track has key [0] and $similar allocates keys starting at [0], then it may overwrite the original track. This may fix that. If not, swapping the lines (as they were before) will return it to its original behaviour, albeit with the similar tracks appearing above the original track.

I also changed the 100 in my group chart thing to sizeof($keys), as this is a bit neater and more explicit.

If this does not fix the missing $track issue, then I will request a dlog to check what the array_unique is working with.