mirror of
https://github.com/nextcloud/server.git
synced 2026-06-10 17:23:59 -04:00
Merge pull request #53536 from nextcloud/fix/fix-php-error-on-upgrade
[stable31] fix: Fix Undefined array key "flags" on upgrade
This commit is contained in:
commit
ba041fbfd7
1 changed files with 1 additions and 1 deletions
|
|
@ -1720,7 +1720,7 @@ class UserConfig implements IUserConfig {
|
|||
} else {
|
||||
$this->fastCache[$userId][$row['appid']][$row['configkey']] = $row['configvalue'] ?? '';
|
||||
}
|
||||
$this->valueDetails[$userId][$row['appid']][$row['configkey']] = ['type' => ValueType::from((int)($row['type'] ?? 0)), 'flags' => (int)$row['flags']];
|
||||
$this->valueDetails[$userId][$row['appid']][$row['configkey']] = ['type' => ValueType::from((int)($row['type'] ?? 0)), 'flags' => (int)($row['flags'] ?? 0)];
|
||||
}
|
||||
$result->closeCursor();
|
||||
$this->setAsLoaded($userId, $lazy);
|
||||
|
|
|
|||
Loading…
Reference in a new issue