Skip to content

Commit

Permalink
Fix for issue #479 strtolower to mb_strtolower
Browse files Browse the repository at this point in the history
  • Loading branch information
David McReynolds committed Jul 30, 2018
1 parent ce16ca0 commit 5ed1b3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fuel/modules/fuel/models/Base_module_model.php
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ protected function _list_items_query()
{
//$method = ($joiner == 'or') ? 'or_like' : 'like';
//$this->db->$method('LOWER('.$key.')', strtolower($val), 'both');
array_push($$joiner_arr, 'LOWER('.$key.') LIKE "%'.strtolower(addslashes($val)).'%"');
array_push($$joiner_arr, 'LOWER('.$key.') LIKE "%'.mb_strtolower(addslashes($val)).'%"');
}
}
}
Expand Down

0 comments on commit 5ed1b3a

Please sign in to comment.