librefm-commits
[Top][All Lists]
Advanced

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

[Librefm-commits] [1497] adodb fixup


From: Clint Adams
Subject: [Librefm-commits] [1497] adodb fixup
Date: Mon, 11 May 2009 22:00:45 +0000

Revision: 1497
          http://svn.sv.gnu.org/viewvc/?view=rev&root=librefm&revision=1497
Author:   clint
Date:     2009-05-11 22:00:44 +0000 (Mon, 11 May 2009)
Log Message:
-----------
adodb fixup

Modified Paths:
--------------
    trunk/gnukebox/scrobble-utils.php

Modified: trunk/gnukebox/scrobble-utils.php
===================================================================
--- trunk/gnukebox/scrobble-utils.php   2009-05-11 21:54:30 UTC (rev 1496)
+++ trunk/gnukebox/scrobble-utils.php   2009-05-11 22:00:44 UTC (rev 1497)
@@ -112,7 +112,7 @@
                die("FAILED trk " . $res->getMessage() . "\n");
        }
 
-       if(!$res->numRows()) {
+       if(!$res) {
                // Create new track
                $res = $adodb->Execute("INSERT INTO Track (name, artist_name, 
album_name, mbid) VALUES ("
                        . ($track) . ", "





reply via email to

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