|
@@ -176,7 +176,7 @@ class BitmaskedBehavior extends Behavior {
|
|
|
}
|
|
}
|
|
|
$key = $foo->getField();
|
|
$key = $foo->getField();
|
|
|
if ($key === $mappedField || $key === $this->_table->alias() . '.' . $mappedField) {
|
|
if ($key === $mappedField || $key === $this->_table->alias() . '.' . $mappedField) {
|
|
|
- $foo->value($this->encodeBitmask($foo->getValue()));
|
|
|
|
|
|
|
+ $foo->setValue($this->encodeBitmask($foo->getValue()));
|
|
|
}
|
|
}
|
|
|
if ($field !== $mappedField) {
|
|
if ($field !== $mappedField) {
|
|
|
$foo->field($field);
|
|
$foo->field($field);
|