BUGIFX: typo in a call to a database function
authorArun Persaud <arun@nubati.net>
Fri, 9 May 2008 00:28:29 +0000 (17:28 -0700)
committerArun Persaud <arun@nubati.net>
Fri, 9 May 2008 00:28:29 +0000 (17:28 -0700)
nothing critical

Signed-off-by: Arun Persaud <arun@nubati.net>
include/db.php

index 2d043570191000403c54c531667897ed075a602a..8c04828fa5372168bca5490aa20b279bd56dd102 100644 (file)
@@ -701,7 +701,7 @@ function DB_get_PREF($myid)
 
 function DB_get_email_pref_by_hash($hash)
 {
 
 function DB_get_email_pref_by_hash($hash)
 {
-  $r = EB_query_array("SELECT value FROM Hand".
+  $r = DB_query_array("SELECT value FROM Hand".
                      " LEFT JOIN User_Prefs ON Hand.user_id=User_Prefs.user_id".
                      " WHERE hash='$hash' AND pref_key='email'" );
   if($r)
                      " LEFT JOIN User_Prefs ON Hand.user_id=User_Prefs.user_id".
                      " WHERE hash='$hash' AND pref_key='email'" );
   if($r)