Fixes usage of deprecated array/string access syntax. (#97)
PHP 7.4 Compatibility.
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user