Small fix for avatar picks

by coRpSE

Fri Feb 06, 2026 12:00 am
Administrator
2396 Posts
There is a minor bug that was found & fixed by GazJ. Below is the attached file, all you need to do is upload the file, keeping the folder structure.

What was changed:
The PHP each() function is deprecated as of PHP 7.2 and was removed in PHP 8.0. There were 2 each() functions found in this file. Those sections were fixed and replaced with updated code.

Here is the diffchecker:
https://www.evolution-xtreme.co.uk/modules.php?name=Diffchecker&id=6080e16ba5602108

The edits to pay attention to are as follows. Lines 219 - 221 and lines 224 - 228.
Also, like every file I work on now, I do remove all the whitespaces that were removed, which you can see with the highlighted line number in yellow.

Thankful People 4 user(s) is/are thankful for this post.
Fri Feb 06, 2026 10:08 am
Administrator
1599 Posts
What was changed/edited?

Cheers,

- The Nuke-Evolution Xtreme Team -
Fri Feb 06, 2026 5:29 pm
Administrator
2396 Posts
— Lonestar wrote
What was changed/edited?


Updated my first post with the diffchecker.

Sat Feb 07, 2026 11:39 am
Administrator
1599 Posts
Ok thanks.

Cheers,

- The Nuke-Evolution Xtreme Team -
Tue Apr 07, 2026 9:04 pm
3 Posts
i keep meaning to look around more but throwing my coding time into my site i keep meaning to set up an evo ex on my hosting to look at i may do that later so if i see anything else ill get in touch