Brain fart. Should really wait until the first cuppa kicks in.
This commit is contained in:
parent
a6c03a8c2e
commit
f710ebc7f9
@ -175,7 +175,7 @@ function mail_content(&$a) {
|
|||||||
$r = q("select abook.*, xchan.* from abook left join xchan on abook_xchan = xchan_hash
|
$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",
|
where abook_channel = %d and abook_xchan = '%s' limit 1",
|
||||||
intval(local_user()),
|
intval(local_user()),
|
||||||
intval(argv(2))
|
dbesc($_REQUEST['hash'])
|
||||||
);
|
);
|
||||||
if($r) {
|
if($r) {
|
||||||
$prename = $r[0]['xchan_name'];
|
$prename = $r[0]['xchan_name'];
|
||||||
|
Reference in New Issue
Block a user