X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=include%2Fprofile_update.php;h=9da96442cb1930058cdaa9b67f5fa1fa599c0b85;hb=b0df06dd726a9b287f3ea87e151dd6823a69cb75;hp=611b00819da3a161ca798b359c6bebac75434090;hpb=6b8585d48d67d109102e33a32311d76a45762667;p=friendica.git diff --git a/include/profile_update.php b/include/profile_update.php index 611b00819d..9da96442cb 100644 --- a/include/profile_update.php +++ b/include/profile_update.php @@ -7,7 +7,7 @@ require_once('include/queue_fn.php'); function profile_change() { $a = get_app(); - + if(! local_user()) return; @@ -29,7 +29,7 @@ function profile_change() { WHERE `user`.`uid` = %d AND `profile`.`is-default` = 1 LIMIT 1", intval(local_user()) ); - + if(! count($r)) return; $profile = $r[0];