Commit 76fd28aa authored by Patrick Schmalstig's avatar Patrick Schmalstig
Browse files

Fixed MANTIS-6284 (Trying to access array offset on int from get_users_online)

parent 01a1c4bc
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -120,7 +120,7 @@ function get_users_online(bool $longer_time, ?int $filter, int &$count) : ?array
                if ($count >= $max_to_show) { // Guests show with lower priority
                    if (!empty($guests)) {
                        array_pop($guests);
                        $members[$row['member_id']] = $max_to_show;
                        $members[$row['member_id']] = $row;
                    }
                } else {
                    $members[$row['member_id']] = $row;