librefm-commits
[Top][All Lists]
Advanced

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

[Librefm-commits] [1876] username for recent serverwide-scrobbles for no


From: Clint Adams
Subject: [Librefm-commits] [1876] username for recent serverwide-scrobbles for now
Date: Wed, 03 Jun 2009 14:47:17 +0000

Revision: 1876
          http://svn.sv.gnu.org/viewvc/?view=rev&root=librefm&revision=1876
Author:   clint
Date:     2009-06-03 14:47:17 +0000 (Wed, 03 Jun 2009)
Log Message:
-----------
username for recent serverwide-scrobbles for now

Modified Paths:
--------------
    branches/stable/nixtape/data/Server.php

Modified: branches/stable/nixtape/data/Server.php
===================================================================
--- branches/stable/nixtape/data/Server.php     2009-06-03 14:47:14 UTC (rev 
1875)
+++ branches/stable/nixtape/data/Server.php     2009-06-03 14:47:17 UTC (rev 
1876)
@@ -113,6 +113,7 @@
                foreach($res as &$i) {
                        $row = sanitize($i);
 
+                       $row['username'] = uniqueid_to_username($row['userid']);
                        $row['userurl'] = 
Server::getUserURL(uniqueid_to_username($row['userid']));
                        if ($row['album']) {
                                $row['albumurl'] = 
Server::getAlbumURL($row['artist'], $row['album']);





reply via email to

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