]> git.mxchange.org Git - friendica.git/commitdiff
Appease VSCode inferior static analysis in Model\Item
authorHypolite Petovan <hypolite@mrpetovan.com>
Fri, 29 May 2020 13:01:37 +0000 (09:01 -0400)
committerHypolite Petovan <hypolite@mrpetovan.com>
Fri, 29 May 2020 13:01:37 +0000 (09:01 -0400)
src/Model/Item.php

index 081babd996fed0ed52d1bdbb7b7460a71e971e59..cfcf806727b6bc088ff2a93826b95c099753dcc1 100644 (file)
@@ -2994,6 +2994,7 @@ class Item
                        }
                }
 
+               $activity = null;
                switch ($verb) {
                        case 'like':
                        case 'unlike':