From a89ab34a8eaa2bd149d0b0d11f3a7667d75c2fb9 Mon Sep 17 00:00:00 2001 From: Jakub Vrana Date: Mon, 17 Sep 2012 15:32:28 -0700 Subject: [PATCH] Fix compiled version on PHP with multibyte support --- changes.txt | 3 +++ compile.php | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/changes.txt b/changes.txt index abf70d81..c20f172d 100644 --- a/changes.txt +++ b/changes.txt @@ -1,3 +1,6 @@ +Adminer 3.6.1-dev: +Fix compiled version on PHP with multibyte support + Adminer 3.6.0 (released 2012-09-16): Load more data in select Edit strings with \n in textarea diff --git a/compile.php b/compile.php index f02f2e19..439d5741 100755 --- a/compile.php +++ b/compile.php @@ -9,7 +9,7 @@ function add_apo_slashes($s) { } function add_quo_slashes($s) { - return addcslashes($s, "\n\r\$\"\\"); + return addcslashes($s, "\n\r\$\0\"\\"); } function remove_lang($match) {