Skip to content

Commit be70845

Browse files
committed
2 parents 4e9a4a3 + 577e80e commit be70845

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/App/Models/RemoteType.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ private function fetchData(?string $value = null, bool $search = false)
8181
public function getRemoteData(?string $identifierValue = null)
8282
{
8383
$cacheKey = 'remote_custom_field_' . $this->id;
84-
if (config('asseco-custom-fields.should_cache_remote') && Cache::has($cacheKey)) {
84+
if (!$identifierValue && config('asseco-custom-fields.should_cache_remote') && Cache::has($cacheKey)) {
8585
return Cache::get($cacheKey);
8686
}
8787

0 commit comments

Comments
 (0)