Skip to content

Fix array_map calls (info endpoint as an admin)

Latest
Compare
Choose a tag to compare
@Xenthys Xenthys released this 10 Jul 21:09
· 4 commits to master since this release
1d5b171

The info endpoint uses array_map to list users and admins, but the function was not passed as a string.
This worked with PHP <8.0 due thanks to the language's leniency, but raised errors in more recent versions.

ShareXen now respects the array_map documentation and passes function names as strings, we're good.