Update MarkerService, fix php deprecation warning

This commit is contained in:
Daniel Supernault 2023-12-21 02:05:26 -07:00
parent 89b8e87477
commit 5169936062
No known key found for this signature in database
GPG key ID: 23740873EE6F76A1

View file

@ -13,7 +13,7 @@ class MarkerService
return Cache::get(self::CACHE_KEY . $timeline . ':' . $profileId);
}
public static function set($profileId, $timeline = 'home', $entityId)
public static function set($profileId, $timeline = 'home', $entityId = false)
{
$existing = self::get($profileId, $timeline);
$key = self::CACHE_KEY . $timeline . ':' . $profileId;