mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-13 02:30:11 +01:00
Integer fields cannot have leading zeros
This commit is contained in:
parent
7a39772c2f
commit
d72f671be4
@ -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…
Reference in New Issue
Block a user