added much more curly braces + space between "if" and brace

Signed-off-by: Roland Häder <roland@mxchange.org>
This commit is contained in:
Roland Häder
2016-12-20 11:56:34 +01:00
parent e70b3b45df
commit 61c1317f80
50 changed files with 224 additions and 164 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
<?php
function network_init(App &$a) {
if(! local_user()) {
if (! local_user()) {
notice( t('Permission denied.') . EOL);
return;
}
@@ -308,7 +308,7 @@ function network_content(&$a, $update = 0) {
require_once('include/conversation.php');
if(! local_user()) {
if (! local_user()) {
$_SESSION['return_url'] = $a->query_string;
return login(false);
}