Fix PHP5.4 support error in Items.php (#452)

This commit is contained in:
FrancescoUK
2016-04-08 19:07:20 +01:00
parent 4264ee763f
commit d27671ac3d

View File

@@ -109,7 +109,7 @@ class Items extends Secure_area implements iData_controller
$suggestions = $this->Item->get_search_suggestions($this->input->post_get('term'),
array(
'search_custom' => $this->input->post('search_custom'),
'is_deleted' => !empty($this->input->post('is_deleted'))
'is_deleted' => $this->input->post('is_deleted') != null
),
FALSE);