Commit 43e10f9d authored by Victor Emanouilov's avatar Victor Emanouilov
Browse files

[FIX] allow checkbox value to be reset with tracker_item_modify ListExecute action

parent 89ac5dab
......@@ -34,7 +34,11 @@ class Tracker_Field_Checkbox extends Tracker_Field_Abstract implements Tracker_F
$ins_id = $this->getInsertId();
if (! empty($requestData[$ins_id])) {
$val = 'y';
if ($requestData[$ins_id] === 'n') {
$val = 'n';
} else {
$val = 'y';
}
} elseif (! empty($requestData[$ins_id . '_old'])) {
$val = 'n';
} else {
......
Supports Markdown
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