diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2020-12-03 16:33:38 +0100 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2020-12-07 15:44:04 +0100 |
commit | c02e6fcae218387a67d201d4171b312e2e82d310 (patch) | |
tree | 96f179e429fe87b5de2e382560ca7c1b789c07dd /lib/private/AppConfig.php | |
parent | b3037dee6a578254161fa96766d77bf8d007b55c (diff) | |
download | nextcloud-server-c02e6fcae218387a67d201d4171b312e2e82d310.tar.gz nextcloud-server-c02e6fcae218387a67d201d4171b312e2e82d310.zip |
fix appconfig tests
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'lib/private/AppConfig.php')
-rw-r--r-- | lib/private/AppConfig.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/AppConfig.php b/lib/private/AppConfig.php index 9e36ad0cd57..a671848245e 100644 --- a/lib/private/AppConfig.php +++ b/lib/private/AppConfig.php @@ -348,10 +348,10 @@ class AppConfig implements IAppConfig { $rows = $result->fetchAll(); foreach ($rows as $row) { if (!isset($this->cache[$row['appid']])) { - $this->cache[$row['appid']] = []; + $this->cache[(string)$row['appid']] = []; } - $this->cache[$row['appid']][$row['configkey']] = $row['configvalue']; + $this->cache[(string)$row['appid']][(string)$row['configkey']] = (string)$row['configvalue']; } $result->closeCursor(); |