Skip to content

Commit

Permalink
Merge pull request #19 from pestlett/patch-1
Browse files Browse the repository at this point in the history
Update application/libraries/Datatables.php
  • Loading branch information
cryogenix committed Oct 17, 2012
2 parents e7849d2 + a42087d commit 70c54fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/libraries/Datatables.php
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ protected function get_filtering()
$mColArray = $this->columns;

$sWhere = '';
$sSearch = $this->ci->db->escape($this->ci->input->post('sSearch'));
$sSearch = $this->ci->db->escape_like_str($this->ci->input->post('sSearch'));

$mColArray = array_values(array_diff($mColArray, $this->unset_columns));
$columns = array_values(array_diff($this->columns, $this->unset_columns));
Expand Down

0 comments on commit 70c54fb

Please sign in to comment.