Commit 7b0dd415 authored by nkoth's avatar nkoth

[FIX] Checkbox field should always show no if not filled in, otherwise it can...

[FIX] Checkbox field should always show no if not filled in, otherwise it can become inconsistent after a while depending on where the user saves the item from, sometimes blank, sometimes n
parent 1e182962
......@@ -35,6 +35,9 @@ class Tracker_Field_Checkbox extends Tracker_Field_Abstract implements Tracker_F
$val = 'n';
} else {
$val = $this->getValue();
if (empty($val)) {
$val = 'n';
}
}
return array(
'value' => $val,
......
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