mirror of
https://github.com/vrana/adminer.git
synced 2025-08-15 02:54:28 +02:00
Fix double unescaping
This commit is contained in:
@@ -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(
|
||||
|
Reference in New Issue
Block a user