GPS.PHP change for PHP 8.0 GPS.PHP change for PHP 8.0
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

GPS.PHP change for PHP 8.0

Started by altenae, October 06, 2021, 10:48:36 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

altenae

Hi All,

Found another file gps.php (line 97) with an error in combination with PHP 8.0
No more use of curly braces

$data = ($data{1} == $data{2} && $data{1} == $data{3}) ? $data{0} : $data;

changed into

$data = ($data[1] == $data[2] && $data[1] == $data[3]) ? $data[0] : $data;