]> git.mxchange.org Git - friendica.git/commitdiff
Added app class variable
authorMichael <heluecht@pirati.ca>
Tue, 19 Mar 2019 06:57:37 +0000 (06:57 +0000)
committerMichael <heluecht@pirati.ca>
Tue, 19 Mar 2019 06:57:37 +0000 (06:57 +0000)
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) {