]> git.mxchange.org Git - friendica.git/commitdiff
Fixed "Argument 4 passed to Friendica\Protocol\DFRN::processVerbs() must be of the...
authorRoland Häder <roland@mxchange.org>
Thu, 16 Jun 2022 17:39:49 +0000 (19:39 +0200)
committerRoland Häder <roland@mxchange.org>
Fri, 17 Jun 2022 15:18:31 +0000 (17:18 +0200)
src/Protocol/DFRN.php

index fc72f7e371e29e39dc2d058be99b4914247de14d..d06e65c6031da3a7193208601e8d8a8352f92cd5 100644 (file)
@@ -2074,6 +2074,9 @@ class DFRN
                        }
                }
 
                        }
                }
 
+               // Need to initialize variable, otherwise E_NOTICE will happen
+               $is_like = false;
+
                if (!self::processVerbs($entrytype, $importer, $item, $is_like)) {
                        Logger::info("Exiting because 'processVerbs' told us so");
                        return;
                if (!self::processVerbs($entrytype, $importer, $item, $is_like)) {
                        Logger::info("Exiting because 'processVerbs' told us so");
                        return;