1
0
mirror of https://github.com/e107inc/e107.git synced 2025-10-22 02:06:05 +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

@@ -46,7 +46,7 @@ function utf8_to_unicode($str) {
for($i = 0; $i < $len; $i++) {
$in = ord($str{$i});
$in = ord($str[$i]);
if ( $mState == 0) {