Coding convention applied:
- space between "if" and brace - curly braces on conditional blocks Signed-off-by: Roland Häder <roland@mxchange.org>
This commit is contained in:
+2
-1
@@ -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];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user