diff --git a/adminer/drivers/mysql.inc.php b/adminer/drivers/mysql.inc.php index 236602d4..691ff28b 100644 --- a/adminer/drivers/mysql.inc.php +++ b/adminer/drivers/mysql.inc.php @@ -606,7 +606,7 @@ if (!defined('Adminer\DRIVER')) { } if ($maria || $is_text) { $default = preg_replace_callback("~^'(.*)'$~", function ($match) { - return str_replace("''", "'", stripslashes($match[1])); + return stripslashes(str_replace("''", "'", $match[1])); }, $default); } $return[$field] = array(