diff --git a/ChangeLog b/ChangeLog index 364ba929be..c71954687d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -9,6 +9,7 @@ phpMyAdmin - ChangeLog + issue #11438 Support JSON data type + issue Editing partitions in table Structure - issue Tracking does not make sense for information_schema +- issue #11550 Regression in Find and replace 4.5.2.0 (not yet released) diff --git a/libraries/controllers/table/TableSearchController.php b/libraries/controllers/table/TableSearchController.php index bc324cc903..f5b91fa783 100644 --- a/libraries/controllers/table/TableSearchController.php +++ b/libraries/controllers/table/TableSearchController.php @@ -622,11 +622,14 @@ class TableSearchController extends TableController */ public function findAction() { + $useRegex = array_key_exists('useRegex', $_POST) + && $_POST['useRegex'] == 'on'; + $preview = $this->getReplacePreview( $_POST['columnIndex'], $_POST['find'], $_POST['replaceWith'], - $_POST['useRegex'], + $useRegex, $this->_connectionCharSet ); $this->response->addJSON('preview', $preview);