mirror of
https://github.com/vrana/adminer.git
synced 2025-08-17 12:00:41 +02:00
Fix double unescaping
This commit is contained in:
@@ -606,7 +606,7 @@ if (!defined('Adminer\DRIVER')) {
|
|||||||
}
|
}
|
||||||
if ($maria || $is_text) {
|
if ($maria || $is_text) {
|
||||||
$default = preg_replace_callback("~^'(.*)'$~", function ($match) {
|
$default = preg_replace_callback("~^'(.*)'$~", function ($match) {
|
||||||
return str_replace("''", "'", stripslashes($match[1]));
|
return stripslashes(str_replace("''", "'", $match[1]));
|
||||||
}, $default);
|
}, $default);
|
||||||
}
|
}
|
||||||
$return[$field] = array(
|
$return[$field] = array(
|
||||||
|
Reference in New Issue
Block a user