Fix #15334 - export of GIS visualisation not working

[ci skip]
Missed use case in bbac072fb5
Signed-off-by: William Desportes <williamdes@wdes.fr>
This commit is contained in:
William Desportes 2019-06-22 19:58:56 +02:00
parent 83337ec8c9
commit 97d25f4e51
No known key found for this signature in database
GPG Key ID: 90A0EF1B8251A889

View File

@ -31,6 +31,8 @@ if (isset($_GET['sql_query']) && isset($_GET['sql_signature'])) {
if (Core::checkSqlQuerySignature($_GET['sql_query'], $_GET['sql_signature'])) {
$sqlQuery = $_GET['sql_query'];
}
} elseif (isset($_POST['sql_query'])) {
$sqlQuery = &$GLOBALS['sql_query'];
}
/* Define dependencies for the concerned controller */