@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Fixed undefined variable error in call from ConduitIntListParameterType

Summary: `$strict` parameter was missing in `$this->parseIntValue(...)` call.

Test Plan:
```
$ curl http://$PHABRICATOR_HOST/api/maniphest.search -d api.token=$CONDUIT_TOKEN -d constraints[priorities][0]=90 -d limit=1
# OK
```

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: Korvin

Differential Revision: https://secure.phabricator.com/D16712

authored by

Giedrius Dubinskas and committed by
gd
b1449fab 10e46414

+5 -1
+5 -1
src/applications/conduit/parametertype/ConduitIntListParameterType.php
··· 7 7 $list = parent::getParameterValue($request, $key, $strict); 8 8 9 9 foreach ($list as $idx => $item) { 10 - $list[$idx] = $this->parseIntValue($request, $key.'['.$idx.']', $item); 10 + $list[$idx] = $this->parseIntValue( 11 + $request, 12 + $key.'['.$idx.']', 13 + $item, 14 + $strict); 11 15 } 12 16 13 17 return $list;