mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-04 22:40:29 +03:00
Integer fields cannot have leading zeros
This commit is contained in:
parent
7a39772c2f
commit
d72f671be4
1 changed files with 1 additions and 1 deletions
|
|
@ -75,7 +75,7 @@ class FieldType():
|
|||
# Generic value types
|
||||
valuetypes = {
|
||||
'int' : FieldType("Integer",
|
||||
r'^[0-9]+$', None,
|
||||
r'^[1-9][0-9]*$', None,
|
||||
[ 'FlattrID' ],
|
||||
[ 'vercode' ]),
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue