]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/featureduserssection.php
Misses this file to merge. I like the comments.
[quix0rs-gnu-social.git] / lib / featureduserssection.php
index 8dacdc332d244f1bce3521c54b9f4c8bb9d90fbc..1b0718a05f5a8462592bafcb56f84399ae038808 100644 (file)
@@ -42,6 +42,15 @@ if (!defined('STATUSNET') && !defined('LACONICA')) {
  */
 class FeaturedUsersSection extends ProfileSection
 {
+    function show()
+    {
+        $featured_nicks = common_config('nickname', 'featured');
+        if (empty($featured_nicks)) {
+            return;
+        }
+        parent::show();
+    }
+
     function getProfiles()
     {
         $featured_nicks = common_config('nickname', 'featured');