From f710ebc7f97845f48cefc3d01acf6793c86f5652 Mon Sep 17 00:00:00 2001 From: friendica Date: Mon, 14 Jul 2014 15:55:23 -0700 Subject: Brain fart. Should really wait until the first cuppa kicks in. --- mod/mail.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mod') diff --git a/mod/mail.php b/mod/mail.php index 8cab42bd0..6976209b7 100644 --- a/mod/mail.php +++ b/mod/mail.php @@ -175,7 +175,7 @@ function mail_content(&$a) { $r = q("select abook.*, xchan.* from abook left join xchan on abook_xchan = xchan_hash where abook_channel = %d and abook_xchan = '%s' limit 1", intval(local_user()), - intval(argv(2)) + dbesc($_REQUEST['hash']) ); if($r) { $prename = $r[0]['xchan_name']; -- cgit v1.2.3