Skip to content

Commit

Permalink
Fixed urlencoded filter values issue
Browse files Browse the repository at this point in the history
  • Loading branch information
apmuthu committed Jan 25, 2019
1 parent 0ce4119 commit 11f982f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ajaxCRUD.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -1313,7 +1313,7 @@ function showTable(){

if (isset($_REQUEST[$field]) && $_REQUEST[$field] != '' && ($action != 'add' && $action != 'delete' && $action != 'update' && $action != 'upload' && $action != 'delete_file')){
$filter_field = $field;
$filter_value = $_REQUEST[$field];
$filter_value = urldecode($_REQUEST[$field]);
if ($this->exactSearchField[$filter_field]){
//exact search (is set by
$filter_where_clause = "WHERE $filter_field = \"$filter_value\"";
Expand Down

0 comments on commit 11f982f

Please sign in to comment.