aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCôme Chilliet <come.chilliet@nextcloud.com>2025-06-17 10:13:16 +0200
committerCôme Chilliet <come.chilliet@nextcloud.com>2025-06-17 10:13:16 +0200
commitd769a5c0010c2600c2131c48e09ab481d4c54a38 (patch)
treeecea9edc3256091c04932dddab414d2813a64823
parentb6f8bbb6bf878ebbc146206dcb53b4491fa4dbd3 (diff)
downloadnextcloud-server-fix/fix-php-error-on-upgrade.tar.gz
nextcloud-server-fix/fix-php-error-on-upgrade.zip
fix: Fix Undefined array key "flags" on upgradefix/fix-php-error-on-upgrade
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
-rw-r--r--lib/private/Config/UserConfig.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Config/UserConfig.php b/lib/private/Config/UserConfig.php
index 178b156bb7c..07118d919b3 100644
--- a/lib/private/Config/UserConfig.php
+++ b/lib/private/Config/UserConfig.php
@@ -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);