From: Roland Häder Date: Fri, 30 Oct 2009 02:57:19 +0000 (+0000) Subject: Message 'Cannot run reset! Please report this bug. Thanks' occurs when reset is not... X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=commitdiff_plain;h=10570955d1813975b534da2eccd72fd04e2fa585 Message 'Cannot run reset! Please report this bug. Thanks' occurs when reset is not yet run but e.g. view.php is called --- diff --git a/inc/filters.php b/inc/filters.php index a91dee3e0f..f100892efe 100644 --- a/inc/filters.php +++ b/inc/filters.php @@ -479,7 +479,7 @@ function FILTER_UPDATE_EXTENSION_DATA ($ext_name) { // Load more reset scripts function FILTER_RUN_RESET_INCLUDES () { // Is the reset set or old sql_patches? - if ((!isResetModeEnabled()) || (!isExtensionInstalledAndOlder('sql_patches', '0.4.5'))) { + if (((!isResetModeEnabled()) || (!isExtensionInstalledAndOlder('sql_patches', '0.4.5'))) && (getOutputMode() == 0)) { // Then abort here logDebugMessage(__FUNCTION__, __LINE__, 'Cannot run reset! Please report this bug. Thanks'); } // END - if