MoinMoin/items/__init__.py
changeset 2085 7f4520c9b5f1
parent 2053 a52e0af95e41
child 2100 129929623809
     1.1 --- a/MoinMoin/items/__init__.py	Tue Apr 09 15:14:08 2013 +0530
     1.2 +++ b/MoinMoin/items/__init__.py	Tue Apr 09 22:33:42 2013 +0530
     1.3 @@ -727,7 +727,8 @@
     1.4                      # break them
     1.5                      return "OK"
     1.6              form = self.ModifyForm.from_request(request)
     1.7 -            if form.validate():
     1.8 +            state = dict(name=self.name, itemid=self.meta.get(ITEMID))
     1.9 +            if form.validate(state):
    1.10                  meta, data, contenttype_guessed, comment = form._dump(self)
    1.11                  contenttype_qs = request.values.get('contenttype')
    1.12                  try: