1
0
Fork 0

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
commit e24c3a5b82
50 changed files with 224 additions and 164 deletions

View file

@ -6,14 +6,16 @@ require_once('include/contact_selectors.php');
function nogroup_init(App &$a) {
if(! local_user())
if (! local_user()) {
return;
}
require_once('include/group.php');
require_once('include/contact_widgets.php');
if(! x($a->page,'aside'))
if (! x($a->page,'aside')) {
$a->page['aside'] = '';
}
$a->page['aside'] .= group_side('contacts','group','extended',0,$contact_id);
}
@ -21,7 +23,7 @@ function nogroup_init(App &$a) {
function nogroup_content(App &$a) {
if(! local_user()) {
if (! local_user()) {
notice( t('Permission denied.') . EOL);
return '';
}