]> git.mxchange.org Git - friendica.git/blobdiff - src/Model/Profile.php
Fix warning
[friendica.git] / src / Model / Profile.php
index b856407994d1d73ff948915d40cc37b6f6cf22c8..79971cd9998e24045181d4249418220e00e11e68 100644 (file)
@@ -1090,6 +1090,8 @@ class Profile
         */
        public static function addVisitorCookieForHandle($handle)
        {
+               $a = \get_app();
+
                // Try to find the public contact entry of the visitor.
                $cid = Contact::getIdForURL($handle);
                if (!$cid) {