From: Jakub Vrana Date: Mon, 17 Sep 2012 22:32:28 +0000 (-0700) Subject: Fix compiled version on PHP with multibyte support X-Git-Tag: v3.6.1~1 X-Git-Url: https://git.joonet.de/?a=commitdiff_plain;h=a89ab34a8eaa2bd149d0b0d11f3a7667d75c2fb9;p=adminer.git Fix compiled version on PHP with multibyte support --- 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) {