]> git.mxchange.org Git - friendica.git/blobdiff - src/Content/Widget.php
Refer to correct contact field in Core/Search
[friendica.git] / src / Content / Widget.php
index 6d00c6132089c91d07e3119f1fd1b53fb7bd1c20..93dc5b71759eeb62daa065aafc9fa4e47e6a377f 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2010-2022, the Friendica project
+ * @copyright Copyright (C) 2010-2023, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -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;
                }