Message 'Cannot run reset! Please report this bug. Thanks' occurs when reset is not...
authorRoland Häder <roland@mxchange.org>
Fri, 30 Oct 2009 02:57:19 +0000 (02:57 +0000)
committerRoland Häder <roland@mxchange.org>
Fri, 30 Oct 2009 02:57:19 +0000 (02:57 +0000)
inc/filters.php

index a91dee3..f100892 100644 (file)
@@ -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