mirror of
https://we.phorge.it/source/phorge.git
synced 2025-01-15 01:01:09 +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:
parent
10e464142d
commit
b1449fab63
1 changed files with 5 additions and 1 deletions
|
@ -7,7 +7,11 @@ final class ConduitIntListParameterType
|
||||||
$list = parent::getParameterValue($request, $key, $strict);
|
$list = parent::getParameterValue($request, $key, $strict);
|
||||||
|
|
||||||
foreach ($list as $idx => $item) {
|
foreach ($list as $idx => $item) {
|
||||||
$list[$idx] = $this->parseIntValue($request, $key.'['.$idx.']', $item);
|
$list[$idx] = $this->parseIntValue(
|
||||||
|
$request,
|
||||||
|
$key.'['.$idx.']',
|
||||||
|
$item,
|
||||||
|
$strict);
|
||||||
}
|
}
|
||||||
|
|
||||||
return $list;
|
return $list;
|
||||||
|
|
Loading…
Reference in a new issue