From 6fd4ffda97df7d49a498a0f485e24ad3cc0baba1 Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Wed, 21 Mar 2007 17:18:16 +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 a4f45141e..9082b3210 100644 --- a/export.php +++ b/export.php @@ -57,7 +57,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';