Remove curly brace offset syntax

This commit is contained in:
2025-04-20 22:42:20 -07:00
parent 1dac9cc3df
commit 7f805eccc8
5 changed files with 60 additions and 60 deletions

View File

@@ -1275,7 +1275,7 @@ if (isset($_REQUEST['delete']) || (isset($_REQUEST['change_copy']) && $_REQUEST[
}
$drop_user_error = '';
foreach ($queries as $sql_query) {
if ($sql_query{0} != '#') {
if ($sql_query[0] != '#') {
if (! PMA_DBI_try_query($sql_query, $GLOBALS['userlink'])) {
$drop_user_error .= PMA_DBI_getError() . "\n";
}
@@ -1302,7 +1302,7 @@ if (isset($_REQUEST['delete']) || (isset($_REQUEST['change_copy']) && $_REQUEST[
if (isset($_REQUEST['change_copy'])) {
$tmp_count = 0;
foreach ($queries as $sql_query) {
if ($sql_query{0} != '#') {
if ($sql_query[0] != '#') {
PMA_DBI_query($sql_query);
}
// when there is a query containing a hidden password, take it