X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=widgets%2Fwidget_friendheader.php;h=f47b1b572c5e021cebdadbc5e249a3a74e392c40;hb=09bb49eef5acf3b12ab6fae4687f7eec06c40eee;hp=8ce1eac678a955d7ffe6c0a6cc42ba49e79bb4b1;hpb=f2fc22227a0dfae8f5c85f24f1c5bfa6e5c4c245;p=friendica-addons.git diff --git a/widgets/widget_friendheader.php b/widgets/widget_friendheader.php index 8ce1eac6..f47b1b57 100644 --- a/widgets/widget_friendheader.php +++ b/widgets/widget_friendheader.php @@ -27,7 +27,7 @@ function friendheader_widget_content(&$a, $conf) { $r = q("SELECT `profile`.`uid` AS `profile_uid`, `profile`.* , `user`.* FROM `profile` LEFT JOIN `user` ON `profile`.`uid` = `user`.`uid` - WHERE `user`.`uid` = %s AND `profile`.`is-default` = 1 LIMIT 1", + WHERE `user`.`uid` = %s LIMIT 1", intval($conf['uid']) ); if (!count($r)) {