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 562644e commit 2146054Copy full SHA for 2146054
src/Type/Fieldtype/FieldtypeThirdParty.php
@@ -10,7 +10,7 @@ class FieldtypeThirdParty
10
public static function &type($field)
11
{
12
$thirdPartyClassName = self::getThirdPartyClassName($field);
13
- $type =& Cache::type($thirdPartyClassName, function () use ($field, $thirdPartyClassName) {
+ $type =& Cache::type("type--{$field->name}", function () use ($field, $thirdPartyClassName) {
14
return $thirdPartyClassName::getType($field);
15
});
16
return $type;
0 commit comments