MantisBT: master 60004349

Author Committer Branch Timestamp Parent
dregad dregad master 2020-09-06 08:49:07 master 6ef1734d
Affected Issues  0027241: Improve handling of missing language strings

Special handling for missing lang string errors

If the error type is 300 (ERROR_LANG_STRING_NOT_FOUND), we retrieve the
details (file name and line number) of the parent error. Properly
handles the case when user's language is not English, by going through
the error stack trace until the first lang_get() call is found.

This allows printing information about the actual location of the
missing string, instead of a not-so-useful reference to lang_get().

Fixes 0027241

mod - core/error_api.php Diff File