summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--includes/account.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/includes/account.php b/includes/account.php
index e8be37b..2747f3b 100644
--- a/includes/account.php
+++ b/includes/account.php
@@ -2747,8 +2747,7 @@ function buildSubjectFromSession() {
if($id == 44)
{
- if(intval($_REQUEST['userid']) != "")
- $_REQUEST['userid'] = intval($_REQUEST['userid']);
+ $_REQUEST['userid'] = intval($_REQUEST['userid']);
$row = mysql_fetch_assoc(mysql_query("select * from `users` where `id`='".intval($_REQUEST['userid'])."'"));
if($row['email'] == "")
$id = 42;