X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=include%2Ffollow.php;h=711579ff5a013c0fb543db99bdc9d3b0a4603d0e;hb=0cd9db9cb7f4c96f597e37590a536eaae123238d;hp=57520abe602291011acfb8ca67eeb931442f698c;hpb=50da541860f4274fc9e365fa4b9330b57577fea9;p=friendica.git diff --git a/include/follow.php b/include/follow.php index 57520abe60..711579ff5a 100644 --- a/include/follow.php +++ b/include/follow.php @@ -1,11 +1,14 @@ $val) { - if (isset($r[0][$key]) AND ($r[0][$key] != "") AND ($val == "")) + if (isset($r[0][$key]) && ($r[0][$key] != "") && ($val == "")) $ret[$key] = $r[0][$key]; - if (isset($r[0][$key]) AND ($ret[$key] != $r[0][$key])) + if (isset($r[0][$key]) && ($ret[$key] != $r[0][$key])) $update = true; }