1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-14 18:44:02 +02:00

JS: Use let/const for globals

This commit is contained in:
Jakub Vrana
2025-03-20 08:58:20 +01:00
parent 101229043e
commit 62c18efbd5
6 changed files with 9 additions and 9 deletions

View File

@@ -484,7 +484,7 @@ class Adminer {
echo "<input type='submit' value='" . lang('Select') . "'>";
echo " <span id='noindex' title='" . lang('Full table scan') . "'></span>";
echo "<script" . nonce() . ">\n";
echo "var indexColumns = ";
echo "const indexColumns = ";
$columns = array();
foreach ($indexes as $index) {
$current_key = reset($index["columns"]);