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:
@@ -105,8 +105,9 @@ class dfrn {
|
||||
dbesc($owner_nick)
|
||||
);
|
||||
|
||||
if(! dbm::is_result($r))
|
||||
if (! dbm::is_result($r)) {
|
||||
killme();
|
||||
}
|
||||
|
||||
$owner = $r[0];
|
||||
$owner_id = $owner['uid'];
|
||||
@@ -139,8 +140,9 @@ class dfrn {
|
||||
intval($owner_id)
|
||||
);
|
||||
|
||||
if(! dbm::is_result($r))
|
||||
if (! dbm::is_result($r)) {
|
||||
killme();
|
||||
}
|
||||
|
||||
$contact = $r[0];
|
||||
require_once('include/security.php');
|
||||
|
||||
Reference in New Issue
Block a user