Page MenuHomePhabricator

D20215.diff
No OneTemporary

D20215.diff

diff --git a/src/applications/config/type/PhabricatorSetConfigType.php b/src/applications/config/type/PhabricatorSetConfigType.php
--- a/src/applications/config/type/PhabricatorSetConfigType.php
+++ b/src/applications/config/type/PhabricatorSetConfigType.php
@@ -43,7 +43,7 @@
}
if ($value) {
- if (array_keys($value) !== range(0, count($value) - 1)) {
+ if (!phutil_is_natural_list($value)) {
throw $this->newException(
pht(
'Option "%s" is of type "%s", and should be specified on the '.

File Metadata

Mime Type
text/plain
Expires
May 12 2024, 5:05 AM (4 w, 2 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6289564
Default Alt Text
D20215.diff (546 B)

Event Timeline