From: Hypolite Petovan Date: Sat, 24 Mar 2018 20:09:19 +0000 (-0400) Subject: Fix number constant used in Console\PoToPhp X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=11e68b70bb6fb1ec05843e5cae2059536a09b84e;p=friendica.git Fix number constant used in Console\PoToPhp --- 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;