[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Librefm-commits] [1651] fix bug
From: |
Matt Lee |
Subject: |
[Librefm-commits] [1651] fix bug |
Date: |
Sat, 16 May 2009 04:43:14 +0000 |
Revision: 1651
http://svn.sv.gnu.org/viewvc/?view=rev&root=librefm&revision=1651
Author: mattl
Date: 2009-05-16 04:43:14 +0000 (Sat, 16 May 2009)
Log Message:
-----------
fix bug
Modified Paths:
--------------
branches/stable/nixtape/user-profile.php
Modified: branches/stable/nixtape/user-profile.php
===================================================================
--- branches/stable/nixtape/user-profile.php 2009-05-16 01:19:13 UTC (rev
1650)
+++ branches/stable/nixtape/user-profile.php 2009-05-16 04:43:14 UTC (rev
1651)
@@ -38,15 +38,15 @@
$smarty->assign('geo', Server::getLocationDetails($user->location_uri));
$aUserScrobbles = $user->getScrobbles(10);
- if (!PEAR::isError ($aUserScrobbles)) {
+ if (!$aUserScrobbles) {
$smarty->assign('scrobbles', $aUserScrobbles);
}
$aUserNowPlaying = $user->getNowPlaying(10);
- if (!PEAR::isError ($aUserNowPlaying)) {
+ if (!$aUserNowPlaying) {
$smarty->assign('nowplaying', $aUserNowPlaying);
}
$aUserTagCloud =
TagCloud::GenerateTagCloud(TagCloud::scrobblesTable('user'), 'artist', 40,
$user->name);
- if (!PEAR::isError ($aUserTagCloud)) {
+ if (!$aUserTagCloud) {
$smarty->assign('user_tagcloud',$aUserTagCloud);
}
$smarty->assign('isme', ($this_user->name == $user->name));
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Librefm-commits] [1651] fix bug,
Matt Lee <=