X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=widgets%2Fwidget_friends.php;h=a3951cdc884387da4ce967daa2e1b09a8f886bf7;hb=81dc1e5eb1bc4a42fa485cb668b200a63fb1feaa;hp=c49d052dd454cf652b3fcf1f96d8dc62f012ca7d;hpb=c67ad31c8bf3749ac21bc62116ecb21c52daa544;p=friendica-addons.git diff --git a/widgets/widget_friends.php b/widgets/widget_friends.php index c49d052d..a3951cdc 100644 --- a/widgets/widget_friends.php +++ b/widgets/widget_friends.php @@ -29,7 +29,7 @@ function friends_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']) );