Skip to content

Commit

Permalink
Disallow 0 as a number for labels per page
Browse files Browse the repository at this point in the history
  • Loading branch information
snipe committed Feb 5, 2020
1 parent 2f0ed12 commit 9eb4b0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Models/Setting.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class Setting extends Model
'slack_endpoint' => 'url|required_with:slack_channel|nullable',
'slack_channel' => 'regex:/(?<!\w)#\w+/|required_with:slack_endpoint|nullable',
'slack_botname' => 'string|nullable',
'labels_per_page' => 'numeric',
'labels_per_page' => 'numeric|min:1',
'labels_width' => 'numeric',
'labels_height' => 'numeric',
'labels_pmargin_left' => 'numeric|nullable',
Expand Down

0 comments on commit 9eb4b0d

Please sign in to comment.