Files
Adam Daley c8439d0dc7 Fix Server_Manager::getPasswordLength() TypeError on non-int config (#4268)
Fix TypeError in Server_Manager::getPasswordLength()

_config['passwordLength'] is untyped, and stored server configs have
been observed carrying a numeric string rather than an int, which
violates this method's declared int return type. Cast defensively at
the boundary.

Confirmed live via Sentry (FOSSBILLING-MZA): ~7,800 occurrences since
June, still ongoing, always fatal to the whole cron run because the
error propagates out of order activation uncaught.
2026-09-02 16:46:32 +01:00
..