mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-14 08:34:39 +00:00
MVC: CSVListField: switch to Y,N instead of a numeric value for consistency
This commit is contained in:
parent
06416714cf
commit
e0c36de4e4
@ -84,7 +84,11 @@ class CSVListField extends BaseField
|
||||
*/
|
||||
public function setMaskPerItem($value)
|
||||
{
|
||||
$this->internalMaskPerItem = $value;
|
||||
if (strtoupper(trim($value)) == "Y") {
|
||||
$this->internalMaskPerItem = true;
|
||||
} else {
|
||||
$this->internalMaskPerItem = false;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user