aboutsummaryrefslogtreecommitdiffstats
path: root/mod/mail.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-07-14 15:55:23 -0700
committerfriendica <info@friendica.com>2014-07-14 15:55:23 -0700
commitf710ebc7f97845f48cefc3d01acf6793c86f5652 (patch)
tree9c9ad81ae608d9f1b88984367e36a0190ba64b89 /mod/mail.php
parenta6c03a8c2e466f3b2107ab8e9fc0b7db7203e515 (diff)
downloadvolse-hubzilla-f710ebc7f97845f48cefc3d01acf6793c86f5652.tar.gz
volse-hubzilla-f710ebc7f97845f48cefc3d01acf6793c86f5652.tar.bz2
volse-hubzilla-f710ebc7f97845f48cefc3d01acf6793c86f5652.zip
Brain fart. Should really wait until the first cuppa kicks in.
Diffstat (limited to 'mod/mail.php')
-rw-r--r--mod/mail.php2
1 files changed, 1 insertions, 1 deletions
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'];