Coding convention applied:

- space between "if" and brace
- curly braces on conditional blocks

Signed-off-by: Roland Häder <roland@mxchange.org>
This commit is contained in:
Roland Häder 2016-12-20 10:10:33 +01:00
parent dac1dbd3e9
commit fb676335db
53 changed files with 117 additions and 87 deletions

View file

@ -14,7 +14,7 @@ function crepair_init(&$a) {
intval(local_user()),
intval($contact_id)
);
if(! dbm::is_result($r)) {
if (! dbm::is_result($r)) {
$contact_id = 0;
}
}
@ -43,8 +43,9 @@ function crepair_post(&$a) {
);
}
if(! dbm::is_result($r))
if (! dbm::is_result($r)) {
return;
}
$contact = $r[0];
@ -110,7 +111,7 @@ function crepair_content(&$a) {
);
}
if(! dbm::is_result($r)) {
if (! dbm::is_result($r)) {
notice( t('Contact not found.') . EOL);
return;
}