test condition has to be reversed for this to work

This commit is contained in:
Marc Delisle
2007-04-09 15:35:21 +00:00
parent 18165aa57a
commit dbb3b2e885

View File

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