diff --git a/app/Models/Setting.php b/app/Models/Setting.php index af8fafb7d3..57f97a95c1 100755 --- a/app/Models/Setting.php +++ b/app/Models/Setting.php @@ -23,7 +23,7 @@ class Setting extends Model 'slack_endpoint' => 'url|required_with:slack_channel|nullable', 'slack_channel' => 'regex:/(? 'string|nullable', - 'labels_per_page' => 'numeric', + 'labels_per_page' => 'numeric|min:1', 'labels_width' => 'numeric', 'labels_height' => 'numeric', 'labels_pmargin_left' => 'numeric|nullable',