[various] Remove redundant profile_uid field from profile query
[friendica-addons.git/.git] / widgets / widget_friendheader.php
index f47b1b5..c403129 100644 (file)
@@ -25,7 +25,7 @@ function friendheader_widget_size()
 
 function friendheader_widget_content(&$a, $conf)
 {
-       $r = q("SELECT `profile`.`uid` AS `profile_uid`, `profile`.* , `user`.* FROM `profile`
+       $r = q("SELECT `profile`.* , `user`.* FROM `profile`
                        LEFT JOIN `user` ON `profile`.`uid` = `user`.`uid`
                        WHERE `user`.`uid` = %s LIMIT 1",
                intval($conf['uid'])