Minor, silence a type warning for differential.getcommitmessage on --create workflow.
This commit is contained in:
+3
@@ -76,6 +76,9 @@ class ConduitAPI_differential_getcommitmessage_Method extends ConduitAPIMethod {
|
||||
|
||||
if ($is_edit) {
|
||||
$fields = $request->getValue('fields');
|
||||
if (!is_array($fields)) {
|
||||
$fields = array();
|
||||
}
|
||||
foreach ($fields as $field => $value) {
|
||||
|
||||
$aux_field = idx($aux_fields, $field);
|
||||
|
||||
Reference in New Issue
Block a user