Commit f8dc499e authored by Ad Schellevis's avatar Ad Schellevis

(mvc) only add none option on single InterfaceField items

parent ff7c2eec
......@@ -139,8 +139,8 @@ class InterfaceField extends BaseField
public function getNodeData()
{
$result = array();
// if interface is not required, add empty option
if (!$this->internalIsRequired) {
// if interface is not required and single, add empty option
if (!$this->internalIsRequired && !$this->internalMultiSelect) {
$result[""] = array("value"=>"none", "selected" => 0);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment