librefm-commits
[Top][All Lists]
Advanced

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

[Librefm-commits] [1848] fix username in nowplaying


From: Clint Adams
Subject: [Librefm-commits] [1848] fix username in nowplaying
Date: Tue, 26 May 2009 23:45:40 +0000

Revision: 1848
          http://svn.sv.gnu.org/viewvc/?view=rev&root=librefm&revision=1848
Author:   clint
Date:     2009-05-26 23:45:39 +0000 (Tue, 26 May 2009)
Log Message:
-----------
fix username in nowplaying

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

Modified: branches/stable/nixtape/data/Server.php
===================================================================
--- branches/stable/nixtape/data/Server.php     2009-05-26 23:45:26 UTC (rev 
1847)
+++ branches/stable/nixtape/data/Server.php     2009-05-26 23:45:39 UTC (rev 
1848)
@@ -248,8 +248,8 @@
                                $clientstr = '<a 
href="http://en.wikipedia.org/wiki/Category:Free_media_players";>' . 
strip_tags(stripslashes($row['name'])) . '</a>';
                        }
                        $row['clientstr'] = $clientstr;
-                       $username = uniqueid_to_username($row['userid']);
-                       $row['userurl'] = Server::getUserURL($username);
+                       $row['username'] = uniqueid_to_username($row['userid']);
+                       $row['userurl'] = Server::getUserURL($row['username']);
                        $row['artisturl'] = 
Server::getArtistURL($row['artist']);
                        $row['trackurl'] = Server::getTrackURL($row['artist'], 
$row['album'], $row['track']);
 





reply via email to

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