From b3b492592c16a05ca6d936b6b2bce510896c8142 Mon Sep 17 00:00:00 2001 From: Retro_Guy Date: Wed, 2 Oct 2024 15:43:06 -0700 Subject: [PATCH] Revert 251de8bf381e86825cd950abe5fb975bd282c6c2 --- Rocksolid_Light/rocksolid/newsportal.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Rocksolid_Light/rocksolid/newsportal.php b/Rocksolid_Light/rocksolid/newsportal.php index e802a3d..063a50d 100644 --- a/Rocksolid_Light/rocksolid/newsportal.php +++ b/Rocksolid_Light/rocksolid/newsportal.php @@ -1644,7 +1644,7 @@ function repair_broken_group($group) $newsportal_info = trim($newsportal_info[1]); $newsportal_start = explode(" ", $newsportal_info); $rslight_start = explode(" ", $rslight_info); - if ($newsportal_start[0] != $rslight_start[0] || (abs($rslight_start[2] - $newsportal_start[2]) > 5)) { + if ($newsportal_start[0] != $rslight_start[0] || (($rslight_start[2] - $newsportal_start[2]) > 5)) { file_put_contents($debug_log, "\n " . format_log_date() . " GROUP MISMATCH: " . $group . " rslight: " . $rslight_info . " newsportal: " . $newsportal_info . " Repairing...", FILE_APPEND); wipe_newsportal_spool_info($group); }