fetchall appconfig entries (#23835)

This commit is contained in:
Jörn Friedrich Dreyer 2016-06-10 15:20:22 +02:00 committed by Thomas Müller
parent 372213b052
commit c14198b874

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']] = [];
}