From 11e68b70bb6fb1ec05843e5cae2059536a09b84e Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Sat, 24 Mar 2018 16:09:19 -0400 Subject: [PATCH] Fix number constant used in Console\PoToPhp --- src/Core/Console/PoToPhp.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Core/Console/PoToPhp.php b/src/Core/Console/PoToPhp.php index 1cfc1ec7fd..62ff24bd55 100644 --- a/src/Core/Console/PoToPhp.php +++ b/src/Core/Console/PoToPhp.php @@ -109,7 +109,7 @@ HELP; $out .= '"' . $v . '"'; } - $v = substr($l, 8, $len - 11); + $v = substr($l, 8, $len - 10); $v = preg_replace_callback($escape_s_exp, [$this, 'escapeDollar'], $v); $inv = true; -- 2.39.5