librefm-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Librefm-commits] [1724] older version of PHP don' t suppor tmultiple ar


From: Clint Adams
Subject: [Librefm-commits] [1724] older version of PHP don' t suppor tmultiple arguments to array_unique().
Date: Thu, 21 May 2009 01:39:04 +0000

Revision: 1724
          http://svn.sv.gnu.org/viewvc/?view=rev&root=librefm&revision=1724
Author:   clint
Date:     2009-05-21 01:39:03 +0000 (Thu, 21 May 2009)
Log Message:
-----------
older version of PHP don't suppor tmultiple arguments to array_unique().  
closes: bug#26625.

Ticket Links:
:-----------
    http://savannah.gnu.org/bugs/?26625

Modified Paths:
--------------
    trunk/nixtape/radio/xspf.php

Modified: trunk/nixtape/radio/xspf.php
===================================================================
--- trunk/nixtape/radio/xspf.php        2009-05-18 21:12:11 UTC (rev 1723)
+++ trunk/nixtape/radio/xspf.php        2009-05-21 01:39:03 UTC (rev 1724)
@@ -59,7 +59,7 @@
 $tr[2] = rand(0,$avail-1);
 $tr[3] = rand(0,$avail-1);
 $tr[4] = rand(0,$avail-1);
-$tr = array_unique($tr, SORT_NUMERIC);
+$tr = array_unique($tr);
 // we should probably shuffle these here
 
 $radiotracks = array();





reply via email to

[Prev in Thread] Current Thread [Next in Thread]