Look for a closing curly brace in a string only after the index of the opening one when using key tags.

This commit is contained in:
Daniele Alessandri
2011-01-05 12:47:43 +01:00
parent d717d906e8
commit afff56d2ec
+1 -1
View File
@@ -449,7 +449,7 @@ abstract class Command implements ICommand {
$start = strpos($key, '{');
if ($start !== false) {
$end = strpos($key, '}');
$end = strpos($key, '}', $start);
if ($end !== false) {
$key = substr($key, ++$start, $end - $start);
}