MantisBT: master 6a8e1ccb

Author Committer Branch Timestamp Parent
dregad dregad master 2018-05-13 08:53 master 21d13755
Changeset

Catch unserialize errors in install_stored_filter_migrate()

Instead of just choking on invalid data when unserializing it (and
possibly display a PHP notice, depending on error reporting settings),
we now catch the error and display a friendly and useful error message.

This also fixes a potential error when handling invalid JSON, since
json_decode() returns null (not false) in this case.

mod - core/install_helper_functions_api.php Diff File