Allow cooking time of 0 for recipes that are not cooked
This commit is contained in:
parent
6b08544066
commit
50b7e883f3
@ -426,7 +426,7 @@ sub _validate_recipe {
|
||||
($args -> {"cooksecs"}, $error) = $self -> validate_numeric("cooksecs", { required => 1,
|
||||
default => 0,
|
||||
intonly => 1,
|
||||
min => 1,
|
||||
min => 0,
|
||||
nicename => "{L_RECIPE_COOKTIME}"
|
||||
});
|
||||
$errors .= $self -> {"template"} -> load_template("error/error_item.tem", { "%(error)s" => $error })
|
||||
|
Loading…
x
Reference in New Issue
Block a user