Fixes usage of deprecated array/string access syntax. (#97)

PHP 7.4 Compatibility.
This commit is contained in:
Bennet Bleßmann
2020-08-30 13:56:25 +02:00
committed by GitHub
parent 0b65747110
commit 34d4f20222
3 changed files with 3 additions and 3 deletions

View File

@@ -200,7 +200,7 @@ class TemplateRender extends PageRender {
$next_number = $vals;
foreach ($mod as $calc) {
$operand = $calc{0};
$operand = $calc[0];
$operator = substr ($calc,1);
switch ($operand) {