Skip to content

Commit 05c7c69

Browse files
authored
Merge pull request #11 from duboism/master
fix: Array and string offset access syntax with curly braces is no longer supported
2 parents b487d57 + 8500b51 commit 05c7c69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

HTML/Template/ITX.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -696,7 +696,7 @@ function buildFunctionlist()
696696
while ($head != '' && $args2 = $this->getValue($head, ',')) {
697697
$arg2 = trim($args2);
698698

699-
$args[] = ('"' == $arg2{0} || "'" == $arg2{0}) ?
699+
$args[] = ('"' == $arg2[0] || "'" == $arg2[0]) ?
700700
substr($arg2, 1, -1) : $arg2;
701701

702702
if ($arg2 == $head) {

0 commit comments

Comments
 (0)