librefm-commits
[Top][All Lists]
Advanced

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

[Librefm-commits] [1758] uh-oh


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

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

Modified Paths:
--------------
    branches/stable/gnukebox/temp-utils.php

Modified: branches/stable/gnukebox/temp-utils.php
===================================================================
--- branches/stable/gnukebox/temp-utils.php     2009-05-23 21:45:34 UTC (rev 
1757)
+++ branches/stable/gnukebox/temp-utils.php     2009-05-23 21:45:50 UTC (rev 
1758)
@@ -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]