MantisBT: master-1.2.x 7f1534f9

Author Committer Branch Timestamp Parent
jreese jreese master-1.2.x 2010-05-18 01:27:29 master-1.2.x 90c726d3
Changeset

Fix edge case with event_clear_callbacks

In cases where an error would occur before Mantis had fully
bootstrapped, it was possible for the error API to generate misleading
errors when the event API had not yet been loaded. By wrapping the call
to event_clear_callbacks() with a check for function_exists(), it should
fix this sort of behavior.

mod - core/error_api.php Diff File