Forráskód Böngészése

Update MarkerService, fix php deprecation warning

Daniel Supernault 1 éve
szülő
commit
5169936062
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      app/Services/MarkerService.php

+ 1 - 1
app/Services/MarkerService.php

@@ -13,7 +13,7 @@ class MarkerService
 		return Cache::get(self::CACHE_KEY . $timeline . ':' . $profileId);
 		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);
 		$existing = self::get($profileId, $timeline);
 		$key = self::CACHE_KEY . $timeline . ':' . $profileId;
 		$key = self::CACHE_KEY . $timeline . ':' . $profileId;