diff options
author | Simon Rettberg | 2021-03-25 14:33:38 +0100 |
---|---|---|
committer | Simon Rettberg | 2021-03-25 14:33:38 +0100 |
commit | 5918ff8d0ddbaf5b7086bd051f2786ceb1ed6065 (patch) | |
tree | c265dd52f2ac078e5ab288fdf3220d469c702fee /inc/database.inc.php | |
parent | [remoteaccess] Show plugin version (diff) | |
download | slx-admin-5918ff8d0ddbaf5b7086bd051f2786ceb1ed6065.tar.gz slx-admin-5918ff8d0ddbaf5b7086bd051f2786ceb1ed6065.tar.xz slx-admin-5918ff8d0ddbaf5b7086bd051f2786ceb1ed6065.zip |
Fix deprecated curly braces string indexing (PHP 7.4)
Diffstat (limited to 'inc/database.inc.php')
-rw-r--r-- | inc/database.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/database.inc.php b/inc/database.inc.php index 3e8ee0f8..a4f7c1b9 100644 --- a/inc/database.inc.php +++ b/inc/database.inc.php @@ -292,7 +292,7 @@ class Database continue; } $newkey = $key; - if ($newkey{0} !== ':') { + if ($newkey[0] !== ':') { $newkey = ":$newkey"; } $new = array(); |