MantisBT: master 9d7b90f3

Author Committer Branch Timestamp Parent
dregad dregad master 2026-07-20 12:41 master 5dbd46b9
Affected Issues  0037318: get_gd_version() should return the complete version number
Changeset

Return actual GD version from get_gd_version()

Until now, the function was just returning the major version as an int
(or 0 if GD is not available). This is a legacy from early PHP 4 days,
when gd_info() did not exist (it was introduced in PHP 4.3.0).

The function signature was changed to return an actual version string if
GD is available, or false if not.

Fixes 0037318

mod - core/utility_api.php Diff File
mod - signup.php Diff File
mod - signup_page.php Diff File