fix: PHP 8 compatibility warnings and fatal errors
Agent-Logs-Url: https://github.com/GameServerPanel/GSP/sessions/5ac91d14-7688-4ab2-9065-10d4a361750f Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
This commit is contained in:
parent
4571837eeb
commit
7a16fb299f
6 changed files with 8 additions and 12 deletions
|
|
@ -869,6 +869,7 @@ class OGPRemoteLibrary
|
|||
|
||||
if ( $retval > 0 )
|
||||
{
|
||||
$data_tmp = is_string($data_tmp) ? $data_tmp : '';
|
||||
$lines = explode('\n',$data_tmp);
|
||||
foreach ((array)$lines as $line)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue