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 4e9a4a3Copy full SHA for 4e9a4a3
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 (config('asseco-custom-fields.should_cache_remote') && Cache::has($cacheKey)) {
85
return Cache::get($cacheKey);
86
}
87
0 commit comments