From dbb3b2e885c5b1169962675874e2d65f7a1f97dc Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Mon, 9 Apr 2007 15:35:21 +0000 Subject: [PATCH] test condition has to be reversed for this to work --- export.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/export.php b/export.php index 3d53f4ae3..e0da559bb 100644 --- a/export.php +++ b/export.php @@ -54,7 +54,7 @@ if (empty($_REQUEST['asfile'])) { } // Does export require to be into file? -if (isset($export_list[$type]['force_file']) && $asfile) { +if (isset($export_list[$type]['force_file']) && ! $asfile) { $message = $strExportMustBeFile; $GLOBALS['show_error_header'] = true; $js_to_run = 'functions.js';