added much more curly braces + space between "if" and brace
Signed-off-by: Roland Häder <roland@mxchange.org>
This commit is contained in:
@@ -42,7 +42,7 @@ function message_init(App &$a) {
|
||||
|
||||
function message_post(App &$a) {
|
||||
|
||||
if(! local_user()) {
|
||||
if (! local_user()) {
|
||||
notice( t('Permission denied.') . EOL);
|
||||
return;
|
||||
}
|
||||
@@ -178,7 +178,7 @@ function message_content(App &$a) {
|
||||
$o = '';
|
||||
nav_set_selected('messages');
|
||||
|
||||
if(! local_user()) {
|
||||
if (! local_user()) {
|
||||
notice( t('Permission denied.') . EOL);
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user