Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: GPS.PHP change for PHP 8.0  (Read 4122 times)

0 Members and 1 Guest are viewing this topic.

altenae

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 254
GPS.PHP change for PHP 8.0
« on: October 06, 2021, 10:48:36 am »

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;
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 20 queries.