1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-20 13:21:54 +02:00

Fixed a bunch of PHP 7.4 syntax errors

- FIX: Removed pointless (and invalid) destructor in LinkedIn::__destruct()
- FIX: All files that trigger this deprecation notice in PHP 7.4:
       "Array and string offset access syntax with curly braces is deprecated"
This commit is contained in:
Nick Liu
2020-01-18 18:26:35 +01:00
parent d55fe8a77b
commit 524229ba0b
9 changed files with 65 additions and 74 deletions

View File

@@ -115,7 +115,7 @@ class list_forum
}
else
{
if($thread_lastuser{0} == "0")
if($thread_lastuser[0] == "0")
{
$LASTPOST = substr($thread_lastuser, 2);
}