]> git.mxchange.org Git - friendica.git/commitdiff
Fix number constant used in Console\PoToPhp
authorHypolite Petovan <mrpetovan@gmail.com>
Sat, 24 Mar 2018 20:09:19 +0000 (16:09 -0400)
committerHypolite Petovan <mrpetovan@gmail.com>
Sat, 24 Mar 2018 20:09:19 +0000 (16:09 -0400)
src/Core/Console/PoToPhp.php

index 1cfc1ec7fd93e70b4019c17355a47a05977dae9d..62ff24bd5553a20ee4a8525182faa689c1b64f95 100644 (file)
@@ -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;