X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Freceive.php;h=950bf0bd388e80ed20fd69541bd46b7e5765c99e;hb=df7702709b07560af1d469f0835586af317f39b0;hp=72e2903483b0f6eb8806b3a96d4fda9b3cb5dfb1;hpb=9b5d5eca07099f9517be617b0cfb903988b01583;p=friendica.git diff --git a/mod/receive.php b/mod/receive.php index 72e2903483..950bf0bd38 100644 --- a/mod/receive.php +++ b/mod/receive.php @@ -24,7 +24,7 @@ function receive_post(&$a) { $guid = $a->argv[2]; - $r = q("SELECT * FROM `user` WHERE `guid` = '%s' LIMIT 1", + $r = q("SELECT * FROM `user` WHERE `guid` = '%s' AND `account_expired` = 0 LIMIT 1", dbesc($guid) ); if(! count($r))