diff --git a/wire/modules/Fieldtype/FieldtypeFile/config.php b/wire/modules/Fieldtype/FieldtypeFile/config.php index 940e986f..c60e74d9 100644 --- a/wire/modules/Fieldtype/FieldtypeFile/config.php +++ b/wire/modules/Fieldtype/FieldtypeFile/config.php @@ -433,7 +433,7 @@ class FieldtypeFileConfiguration extends Wire { $f->val(0); } else if(!$customTpl) { // create custom template - $customTpl = $templates->add($customTplEnabledName); + $customTpl = $templates->add($customTplEnabledName, array('noGlobal' => true)); $this->message(sprintf($this->_('Created custom fields template: %s'), $customTpl->name)); }