mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-18 21:02:41 +01:00
Minor, silence a type warning for differential.getcommitmessage on --create workflow.
This commit is contained in:
parent
b4053190ec
commit
f009d5cdcb
1 changed files with 3 additions and 0 deletions
|
@ -76,6 +76,9 @@ class ConduitAPI_differential_getcommitmessage_Method extends ConduitAPIMethod {
|
||||||
|
|
||||||
if ($is_edit) {
|
if ($is_edit) {
|
||||||
$fields = $request->getValue('fields');
|
$fields = $request->getValue('fields');
|
||||||
|
if (!is_array($fields)) {
|
||||||
|
$fields = array();
|
||||||
|
}
|
||||||
foreach ($fields as $field => $value) {
|
foreach ($fields as $field => $value) {
|
||||||
|
|
||||||
$aux_field = idx($aux_fields, $field);
|
$aux_field = idx($aux_fields, $field);
|
||||||
|
|
Loading…
Reference in a new issue