]> git.mxchange.org Git - friendica.git/blobdiff - boot.php
Merge develop-new into event-attendance-new
[friendica.git] / boot.php
index 875e5369ed3f486fd4bf57670727eb037da7683b..20c243c2406bdbf19646e7a11cc71ed7c1ae8fc1 100644 (file)
--- a/boot.php
+++ b/boot.php
@@ -412,6 +412,7 @@ if(! class_exists('App')) {
                public  $videoheight = 350;
                public  $force_max_items = 0;
                public  $theme_thread_allow = true;
+               public  $theme_events_in_profile = true;
 
                // An array for all theme-controllable parameters
                // Mostly unimplemented yet. Only options 'stylesheet' and
@@ -1661,7 +1662,7 @@ if(! function_exists('load_contact_links')) {
                if(! $uid || x($a->contacts,'empty'))
                        return;
 
-               $r = q("SELECT `id`,`network`,`url`,`thumb` FROM `contact` WHERE `uid` = %d AND `self` = 0 AND `blocked` = 0 AND `thumb` != ''",
+               $r = q("SELECT `id`,`network`,`url`,`thumb`, `rel` FROM `contact` WHERE `uid` = %d AND `self` = 0 AND `blocked` = 0 AND `thumb` != ''",
                                intval($uid)
                );
                if(count($r)) {