1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-01-14 00:31:05 +01:00

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
This commit is contained in:
Giedrius Dubinskas 2016-10-17 12:38:15 +00:00 committed by gd
parent 10e464142d
commit b1449fab63

View file

@ -7,7 +7,11 @@ final class ConduitIntListParameterType
$list = parent::getParameterValue($request, $key, $strict);
foreach ($list as $idx => $item) {
$list[$idx] = $this->parseIntValue($request, $key.'['.$idx.']', $item);
$list[$idx] = $this->parseIntValue(
$request,
$key.'['.$idx.']',
$item,
$strict);
}
return $list;