librefm-commits
[Top][All Lists]
Advanced

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

[Librefm-commits] [1479] Attempt to fix bug on profile page


From: Jørgen Bøhnsdalen
Subject: [Librefm-commits] [1479] Attempt to fix bug on profile page
Date: Mon, 11 May 2009 06:50:27 +0000

Revision: 1479
          http://svn.sv.gnu.org/viewvc/?view=rev&root=librefm&revision=1479
Author:   jurgbohn
Date:     2009-05-11 06:50:22 +0000 (Mon, 11 May 2009)
Log Message:
-----------
Attempt to fix bug on profile page

Modified Paths:
--------------
    trunk/nixtape/data/TagCloud.php

Modified: trunk/nixtape/data/TagCloud.php
===================================================================
--- trunk/nixtape/data/TagCloud.php     2009-05-10 22:17:37 UTC (rev 1478)
+++ trunk/nixtape/data/TagCloud.php     2009-05-11 06:50:22 UTC (rev 1479)
@@ -53,7 +53,7 @@
                $adodb->SetFetchMode(ADODB_FETCH_ASSOC);
                $res = $adodb->CacheGetAll(7200,$query);
                if (!$res) {
-                       echo('ERROR ' . $query);
+                       return(new PEAR_Error('ERROR ' . $query));
                } else {
                        foreach($res as $count => &$i) {
                                $i['size'] = $sizes[(int) 
($count/(count($res)/7))];





reply via email to

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