Skip to content
Snippets Groups Projects

Do not skip view arguments after an empty one

Files
2
@@ -1159,8 +1159,8 @@ protected function _buildArguments() {
// Set the argument, which ensures that the argument is valid and
// possibly transforms the value.
if (!$argument->setArgument($arg)) {
$status = $argument->validateFail($arg);
break;
$status = $argument->validateFail($arg) && $status;
continue;
}
if ($argument->isException()) {
@@ -1184,8 +1184,7 @@ protected function _buildArguments() {
}
else {
// Determine default condition and handle.
$status = $argument->defaultAction();
break;
$status = $argument->defaultAction() && $status;
}
// Be safe with references and loops:
Loading