mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-04 14:30:11 +01:00
Integer fields cannot have leading zeros
This commit is contained in:
parent
a0cadda69c
commit
8ade1e7133
@ -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