|
@@ -440,7 +440,7 @@ abstract class Command {
|
|
|
|
|
|
$start = strpos($key, '{');
|
|
$start = strpos($key, '{');
|
|
if ($start !== false) {
|
|
if ($start !== false) {
|
|
- $end = strpos($key, '}');
|
|
|
|
|
|
+ $end = strpos($key, '}', $start);
|
|
if ($end !== false) {
|
|
if ($end !== false) {
|
|
$key = substr($key, ++$start, $end - $start);
|
|
$key = substr($key, ++$start, $end - $start);
|
|
}
|
|
}
|