Pull-request: #20087 Fixes: #19843 Signed-off-by: William Desportes <williamdes@wdes.fr>
This commit is contained in:
commit
4c2b4b283e
@ -655,7 +655,7 @@ class Generator
|
||||
if (
|
||||
! empty($cfg['SQLQuery']['Refresh'])
|
||||
&& ! isset($GLOBALS['show_as_php']) // 'Submit query' does the same
|
||||
&& preg_match('@^(SELECT|SHOW)[[:space:]]+@i', $sqlQuery)
|
||||
&& preg_match('@^(ANALYZE|EXPLAIN|SELECT|SHOW)[[:space:]]+@i', $sqlQuery)
|
||||
) {
|
||||
$refreshLink = Url::getFromRoute('/sql', $urlParams);
|
||||
$refreshLink = ' [ '
|
||||
|
||||
Loading…
Reference in New Issue
Block a user