Remove curly brace offset syntax
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user