Added app class variable
This commit is contained in:
parent
0aab620d32
commit
dbfb0b6cff
1 changed files with 2 additions and 0 deletions
|
@ -1090,6 +1090,8 @@ class Profile
|
||||||
*/
|
*/
|
||||||
public static function addVisitorCookieForHandle($handle)
|
public static function addVisitorCookieForHandle($handle)
|
||||||
{
|
{
|
||||||
|
$a = \get_app();
|
||||||
|
|
||||||
// Try to find the public contact entry of the visitor.
|
// Try to find the public contact entry of the visitor.
|
||||||
$cid = Contact::getIdForURL($handle);
|
$cid = Contact::getIdForURL($handle);
|
||||||
if (!$cid) {
|
if (!$cid) {
|
||||||
|
|
Loading…
Reference in a new issue