Make the code nicer
This commit is contained in:
parent
c1eea3771f
commit
ac88471e55
1 changed files with 2 additions and 2 deletions
|
@ -64,7 +64,7 @@ function contact_remove($id) {
|
|||
$r = q("SELECT `uid` FROM `contact` WHERE `id` = %d AND NOT `self` LIMIT 1",
|
||||
intval($id)
|
||||
);
|
||||
if((! dbm::is_result($r)) || (! intval($r[0]['uid']))) {
|
||||
if (!dbm::is_result($r) || !intval($r[0]['uid'])) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue