added much more curly braces + space between "if" and brace
Signed-off-by: Roland Häder <roland@mxchange.org>
This commit is contained in:
parent
e70b3b45df
commit
61c1317f80
50 changed files with 224 additions and 164 deletions
|
|
@ -5,8 +5,9 @@ require_once("include/text.php");
|
|||
|
||||
function manage_post(App &$a) {
|
||||
|
||||
if(! local_user())
|
||||
if (! local_user()) {
|
||||
return;
|
||||
}
|
||||
|
||||
$uid = local_user();
|
||||
$orig_record = $a->user;
|
||||
|
|
@ -93,7 +94,7 @@ function manage_post(App &$a) {
|
|||
|
||||
function manage_content(App &$a) {
|
||||
|
||||
if(! local_user()) {
|
||||
if (! local_user()) {
|
||||
notice( t('Permission denied.') . EOL);
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue