diff --git a/lib/Trello/Model/Checklist.php b/lib/Trello/Model/Checklist.php index dce17ec..ea3c971 100644 --- a/lib/Trello/Model/Checklist.php +++ b/lib/Trello/Model/Checklist.php @@ -242,7 +242,7 @@ public function isItemChecked($nameOrId) protected function postRefresh() { foreach ($this->data['checkItems'] as $key => $item) { - $this->data['checkItems'][$key]['state'] = in_array($item['state'], array(true, 'complete', 'true')); + $this->data['checkItems'][$key]['state'] = in_array($item['state'], array(true, 'complete', 'true'), true); } }