Commit b8a543ee authored by Marko Kuder's avatar Marko Kuder
Browse files

debugging syntax errors

parent f50b2f5e
......@@ -530,7 +530,7 @@ class PackageController(ckan.controllers.package.PackageController):
except logic.NotAuthorized:
base.abort(401, _('Not authorized to see this page'))
if data_dict.get('message', '').strip() == '') and (not 'publish' in request.params):
if data_dict.get('message', '').strip() == '' and (not 'publish' in request.params):
errors['message'] = [u'Če zbirka ne bo objavljena, je komentar obvezen.']
error_summary['message'] = u'Manjkajoča vrednost'
vars = {'data': data, 'errors': errors, 'error_summary': error_summary}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment