Browse Source

fetchall appconfig entries (#23835)

tags/v9.1.0RC1
Jörn Friedrich Dreyer 8 years ago
parent
commit
c14198b874
1 changed files with 3 additions and 1 deletions
  1. 3
    1
      lib/private/AppConfig.php

+ 3
- 1
lib/private/AppConfig.php View File

@@ -273,7 +273,9 @@ class AppConfig implements IAppConfig {
->from('appconfig');
$result = $sql->execute();

while ($row = $result->fetch()) {
// we are going to store the result in memory anyway
$rows = $result->fetchAll();
foreach ($rows as $row) {
if (!isset($this->cache[$row['appid']])) {
$this->cache[$row['appid']] = [];
}

Loading…
Cancel
Save