Coding convention applied:
- space between "if" and brace - curly braces on conditional blocks Signed-off-by: Roland Häder <roland@mxchange.org> Conflicts: include/lock.php
This commit is contained in:
@@ -15,7 +15,7 @@ function profiles_init(&$a) {
|
||||
intval($a->argv[2]),
|
||||
intval(local_user())
|
||||
);
|
||||
if(! dbm::is_result($r)) {
|
||||
if (! dbm::is_result($r)) {
|
||||
notice( t('Profile not found.') . EOL);
|
||||
goaway('profiles');
|
||||
return; // NOTREACHED
|
||||
@@ -130,7 +130,7 @@ function profiles_init(&$a) {
|
||||
intval($a->argv[1]),
|
||||
intval(local_user())
|
||||
);
|
||||
if(! dbm::is_result($r)) {
|
||||
if (! dbm::is_result($r)) {
|
||||
notice( t('Profile not found.') . EOL);
|
||||
killme();
|
||||
return;
|
||||
@@ -613,7 +613,7 @@ function profiles_content(&$a) {
|
||||
intval($a->argv[1]),
|
||||
intval(local_user())
|
||||
);
|
||||
if(! dbm::is_result($r)) {
|
||||
if (! dbm::is_result($r)) {
|
||||
notice( t('Profile not found.') . EOL);
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user