mirror of
https://github.com/f-droid/fdroidserver.git
synced 2026-03-27 11:22:40 -04:00
Integer fields cannot have leading zeros
This commit is contained in:
@@ -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' ]),
|
||||
|
||||
|
||||
Reference in New Issue
Block a user