fixed incorrect template validator in wiki, thanks Alan
This commit is contained in:
@@ -1 +1 @@
|
||||
Version 2.4.1-alpha.2+timestamp.2013.01.20.21.23.26
|
||||
Version 2.4.1-alpha.2+timestamp.2013.01.20.21.35.15
|
||||
|
||||
+2
-1
@@ -5089,7 +5089,8 @@ class Wiki(object):
|
||||
if self.templates:
|
||||
fields.append(
|
||||
Field("from_template", "reference wiki_page",
|
||||
requires=IS_EMPTY_OR(IS_IN_DB(db(self.templates),
|
||||
requires=IS_EMPTY_OR(IS_IN_DB(db(self.templates),
|
||||
db.wiki_page._id,
|
||||
'%(slug)s')),
|
||||
comment=current.T(
|
||||
"Choose Template or empty for new Page")))
|
||||
|
||||
Reference in New Issue
Block a user