mirror of
https://github.com/SuiteCRM/SuiteCRM-Core.git
synced 2025-09-01 08:00:47 +08:00
[Legacy] return booleans on mapper
This commit is contained in:
parent
d9578adde7
commit
6f0d9d7788
1 changed files with 2 additions and 2 deletions
|
@ -56,9 +56,9 @@ class BooleanMapper implements TypeMapperInterface
|
|||
|
||||
$value = '';
|
||||
if ($this->isTrue($bean->$name)) {
|
||||
$value = 'true';
|
||||
$value = true;
|
||||
} elseif ($this->isFalse($bean->$name)) {
|
||||
$value = 'false';
|
||||
$value = false;
|
||||
}
|
||||
|
||||
$container[$newName] = $value;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue