]> git.mxchange.org Git - friendica.git/blobdiff - src/Content/Widget.php
Merge pull request #13048 from MrPetovan/bug/fatal-errors
[friendica.git] / src / Content / Widget.php
index 641f56329c25bef71f05facc59f9dd1b533fc7d9..93dc5b71759eeb62daa065aafc9fa4e47e6a377f 100644 (file)
@@ -59,7 +59,7 @@ class Widget
        /**
         * Return Find People widget
         *
-        * @return string HTML code respresenting "People Widget"
+        * @return string HTML code representing "People Widget"
         */
        public static function findPeople(): string
        {
@@ -120,6 +120,10 @@ class Widget
                        $networks[] = Protocol::TWITTER;
                }
 
+               if (!Addon::isEnabled("tumblr")) {
+                       $networks[] = Protocol::TUMBLR;
+               }
+
                if (DI::config()->get("system", "ostatus_disabled")) {
                        $networks[] = Protocol::OSTATUS;
                }