]> git.mxchange.org Git - friendica.git/blobdiff - mod/receive.php
Merge remote-tracking branch 'upstream/develop' into rewrites/app_get_baseurl_static
[friendica.git] / mod / receive.php
index abe43d2b883213cbcf72895555a3cbca3f5c82f0..87fd79363582b5ab5c314f84d73d84e91592db3c 100644 (file)
@@ -34,8 +34,9 @@ function receive_post(&$a) {
                $r = q("SELECT * FROM `user` WHERE `guid` = '%s' AND `account_expired` = 0 AND `account_removed` = 0 LIMIT 1",
                        dbesc($guid)
                );
-               if(! dbm::is_result($r))
+               if (! dbm::is_result($r)) {
                        http_status_exit(500);
+               }
 
                $importer = $r[0];
        }