Skip to content

Commit fc9d9b0

Browse files
authored
Update ExportPostmanCommand.php
1 parent 4bce700 commit fc9d9b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Commands/ExportPostmanCommand.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ public function handle(): void
9797
$rule = preg_split('/\s*\|\s*/', $rule);
9898
}
9999

100-
if (in_array('confirmed', $rule)) {
100+
if (is_array($rule) && in_array('confirmed', $rule)) {
101101
$requestRules[] = $fieldName.'_confirmation';
102102
}
103103
}

0 commit comments

Comments
 (0)