diff --git a/src/elementCache/ElementCache.php b/src/elementCache/ElementCache.php index 4c7d059..eb91301 100644 --- a/src/elementCache/ElementCache.php +++ b/src/elementCache/ElementCache.php @@ -137,7 +137,7 @@ static public function with(string $key, callable $callback) { static public function withElement(string $key, ElementInterface $element, callable $callback) { $key .= ';element=' . $element->getId(); if ($element instanceof Element) { - $key .= ';site=' . $element->handle; + $key .= ';siteId=' . $element->siteId; } return self::with($key, $callback);