librefm-commits
[Top][All Lists]
Advanced

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

[Librefm-commits] [1757] uh-oh


From: Clint Adams
Subject: [Librefm-commits] [1757] uh-oh
Date: Sat, 23 May 2009 21:45:34 +0000

Revision: 1757
          http://svn.sv.gnu.org/viewvc/?view=rev&root=librefm&revision=1757
Author:   clint
Date:     2009-05-23 21:45:34 +0000 (Sat, 23 May 2009)
Log Message:
-----------
uh-oh

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

Modified: trunk/gnukebox/temp-utils.php
===================================================================
--- trunk/gnukebox/temp-utils.php       2009-05-23 21:36:55 UTC (rev 1756)
+++ trunk/gnukebox/temp-utils.php       2009-05-23 21:45:34 UTC (rev 1757)
@@ -30,7 +30,7 @@
        try {
                $uniqueid = $adodb->GetOne('SELECT uniqueid from Users where 
lower(username) = lower('.$adodb->qstr($username).')');
        } catch (exception $e) {
-               return null;
+               return 0;
        }
 
        return $uniqueid;
@@ -43,7 +43,7 @@
        try {
                $username = $adodb->GetOne('SELECT username from Users where 
uniqueid = '.($uniqueid));
        } catch (exception $e) {
-               return null;
+               return "BROKEN";
        }
 
        return $username;





reply via email to

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