mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 16:48:49 +01:00
fix PHP 8.0 Fatal error: Array and string offset access syntax with curly braces is no longer supported
This commit is contained in:
parent
ffc048d472
commit
3e278b3bd3
@ -715,10 +715,10 @@ class Asyncservice
|
|||||||
if ($this->debug) error_log(__METHOD__.'() line '.++$n.": $line");
|
if ($this->debug) error_log(__METHOD__.'() line '.++$n.": $line");
|
||||||
$parts = explode(' ',$line,6);
|
$parts = explode(' ',$line,6);
|
||||||
|
|
||||||
if ($line{0} == '#' || count($parts) < 6 || ($parts[5]{0} != '/' && substr($parts[5],0,3) != 'php'))
|
if ($line[0] == '#' || count($parts) < 6 || ($parts[5][0] != '/' && substr($parts[5],0,3) != 'php'))
|
||||||
{
|
{
|
||||||
// ignore comments
|
// ignore comments
|
||||||
if ($line{0} != '#')
|
if ($line[0] != '#')
|
||||||
{
|
{
|
||||||
$times['error'] .= $line;
|
$times['error'] .= $line;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user