summaryrefslogtreecommitdiffstats
path: root/include/db.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/db.php')
-rw-r--r--include/db.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/db.php b/include/db.php
index 2d04357..8c04828 100644
--- a/include/db.php
+++ b/include/db.php
@@ -701,7 +701,7 @@ function DB_get_PREF($myid)
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)