diff --git a/include/simpleplugin/attributes/class_SetAttribute.inc b/include/simpleplugin/attributes/class_SetAttribute.inc index 515e588966fc17a90c3c5310d719a4198a6e230c..4f2e5f10decae3e9d9a9805877113baa1cbdeeb7 100644 --- a/include/simpleplugin/attributes/class_SetAttribute.inc +++ b/include/simpleplugin/attributes/class_SetAttribute.inc @@ -226,7 +226,7 @@ class SetAttribute extends Attribute 'htmlid' => $this->getForHtmlId(), 'label' => '{literal}'.$this->getLabel().'{/literal}'.($this->isRequired() ? '{$must}' : ''), 'description' => ($this->isRequired() ? sprintf(_("%s (required)"), $this->getDescription()) : $this->getDescription()), - 'input' => $this->renderOnlyFormInput(), + 'input' => $this->renderAcl($this->renderOnlyFormInput()), ); $this->handleEditingValue(); $this->attribute->renderAttribute($attributes, $readOnly); @@ -234,7 +234,7 @@ class SetAttribute extends Attribute 'htmlid' => 'add'.$this->getHtmlId(), 'label' => '', 'description' => '', - 'input' => $this->renderButtons(), + 'input' => $this->renderAcl($this->renderButtons()), ); } }