librefm-commits
[Top][All Lists]
Advanced

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

[Librefm-commits] [1487] another misspelled variable name


From: Clint Adams
Subject: [Librefm-commits] [1487] another misspelled variable name
Date: Mon, 11 May 2009 19:20:29 +0000

Revision: 1487
          http://svn.sv.gnu.org/viewvc/?view=rev&root=librefm&revision=1487
Author:   clint
Date:     2009-05-11 19:20:28 +0000 (Mon, 11 May 2009)
Log Message:
-----------
another misspelled variable name

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

Modified: trunk/nixtape/data/User.php
===================================================================
--- trunk/nixtape/data/User.php 2009-05-11 19:19:36 UTC (rev 1486)
+++ trunk/nixtape/data/User.php 2009-05-11 19:20:28 UTC (rev 1487)
@@ -231,7 +231,7 @@
                $query = 'SELECT COUNT(track) as c, artist, album, track FROM 
Scrobbles WHERE username = '.$adodb->qstr($this->name).' GROUP BY 
artist,album,track ORDER BY c DESC LIMIT ' . ($number);
                $adodb->SetFetchMode(ADODB_FETCH_ASSOC);
                $data = $adodb->CacheGetAll(7200,$query);
-               if (!$res) {
+               if (!$data) {
                        return(new PEAR_Error('ERROR ' . $query));
                }
 





reply via email to

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