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 a91dee3e0faae187ef5c8dc4fd714e0d8e3e1a13..f100892efe2a292be3a60ac8980fc1b5030ec2b0 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