Skip to content

Commit 3cd4f82

Browse files
committed
do not allow empty string
1 parent 77a6216 commit 3cd4f82

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.vortex/installer/src/Prompts/PromptManager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -552,7 +552,7 @@ private function args(string $handler_class, mixed $default_override = NULL, arr
552552
$default = $default_from_handler;
553553
}
554554

555-
if (!is_null($default)) {
555+
if (!is_null($default) && $default !== '') {
556556
$args['default'] = $default;
557557
}
558558

0 commit comments

Comments
 (0)