Commit 57861641 authored by Côme Chilliet's avatar Côme Chilliet
Browse files

Fixes #4611 setRequired is now public

parent 3220697c
......@@ -220,7 +220,7 @@ class Attribute
return $this->required;
}
protected function setRequired ($bool)
function setRequired ($bool)
{
$this->required = $bool;
}
......@@ -1109,7 +1109,7 @@ class SelectAttribute extends Attribute
}
}
protected function setRequired ($bool)
function setRequired ($bool)
{
parent::setRequired($bool);
$key = array_search("", $this->choices, TRUE);
......
Supports Markdown
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