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';