mirror of
https://github.com/processwire/processwire.git
synced 2025-08-17 20:11:46 +02:00
Fix issue processwire/processwire-issues#1501
This commit is contained in:
@@ -433,7 +433,7 @@ class FieldtypeFileConfiguration extends Wire {
|
|||||||
$f->val(0);
|
$f->val(0);
|
||||||
} else if(!$customTpl) {
|
} else if(!$customTpl) {
|
||||||
// create custom template
|
// 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));
|
$this->message(sprintf($this->_('Created custom fields template: %s'), $customTpl->name));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user