mirror of
https://github.com/appwrite/appwrite.git
synced 2026-11-18 20:36:03 +00:00
fix: index lengths.
This commit is contained in:
1 parent
b1f7f08b9a
commit
ffec769f4a
1 file changed
+1
-1
+1
-1
@@ -164,7 +164,7 @@ class Create extends Action
|
||||
throw new Exception($this->getParentNotAvailableException(), "$contextType not available: " . $oldAttributes[$attributeIndex]['key']);
|
||||
}
|
||||
|
||||
$lengths[$i] = null;
|
||||
$lengths[$i] ??= null;
|
||||
|
||||
if ($attributeArray === true) {
|
||||
$lengths[$i] = Database::ARRAY_INDEX_LENGTH;
|
||||
|
||||
Reference in new issue
Block a user