Fix possible "Undefined index: output_format" on export
Signed-off-by: William Desportes <williamdes@wdes.fr>
This commit is contained in:
parent
b04fe5cb8a
commit
590a450a47
@ -260,7 +260,7 @@ final class ExportController extends AbstractController
|
||||
$quick_export = false;
|
||||
}
|
||||
|
||||
if ($_POST['output_format'] === 'astext') {
|
||||
if (isset($_POST['output_format']) && $_POST['output_format'] === 'astext') {
|
||||
$asfile = false;
|
||||
} else {
|
||||
$asfile = true;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user