We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 90fa613 commit 577e80eCopy full SHA for 577e80e
src/App/Models/RemoteType.php
@@ -81,7 +81,7 @@ private function fetchData(?string $value = null, bool $search = false)
81
public function getRemoteData(?string $identifierValue = null)
82
{
83
$cacheKey = 'remote_custom_field_' . $this->id;
84
- if ((bool) $identifierValue && config('asseco-custom-fields.should_cache_remote') && Cache::has($cacheKey)) {
+ if (!$identifierValue && config('asseco-custom-fields.should_cache_remote') && Cache::has($cacheKey)) {
85
return Cache::get($cacheKey);
86
}
87
0 commit comments