Commit 2865da35 authored by Ad Schellevis's avatar Ad Schellevis

(mvc) normalise boolean flag on multiple selection

parent f8dc499e
......@@ -125,7 +125,7 @@ class InterfaceField extends BaseField
*/
public function setmultiple($value)
{
if ($value == 1) {
if (trim(strtoupper($value)) == "Y") {
$this->internalMultiSelect = true;
} else {
$this->internalMultiSelect = false;
......
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