diff --git a/ecrire/inc/utils.php b/ecrire/inc/utils.php index 5f988f7eb9fe9410d631fef0f67eb371b12c7ae1..771baa5f95aeb8514cda9bb5c864d7fc6851d780 100644 --- a/ecrire/inc/utils.php +++ b/ecrire/inc/utils.php @@ -119,7 +119,7 @@ function include_once_check($file) { return true; } - $crash = (isset($GLOBALS['message_crash_plugins']) ? unserialize($GLOBALS['message_crash_plugins']) : ''); + $crash = (isset($GLOBALS['meta']['message_crash_plugins']) ? unserialize($GLOBALS['meta']['message_crash_plugins']) : ''); $crash = ($crash ? $crash : array()); $crash[$file] = true; ecrire_meta('message_crash_plugins', serialize($crash));