1
0
Fork 0

Make the code nicer

This commit is contained in:
Michael 2017-01-29 14:00:44 +00:00
parent c1eea3771f
commit ac88471e55

View file

@ -64,7 +64,7 @@ function contact_remove($id) {
$r = q("SELECT `uid` FROM `contact` WHERE `id` = %d AND NOT `self` LIMIT 1", $r = q("SELECT `uid` FROM `contact` WHERE `id` = %d AND NOT `self` LIMIT 1",
intval($id) intval($id)
); );
if((! dbm::is_result($r)) || (! intval($r[0]['uid']))) { if (!dbm::is_result($r) || !intval($r[0]['uid'])) {
return; return;
} }