[ckan-changes] commit/ckan: John Glover: Bug fix: id should be variable not string
Bitbucket
commits-noreply at bitbucket.org
Thu Jul 28 14:32:20 UTC 2011
1 new changeset in ckan:
http://bitbucket.org/okfn/ckan/changeset/ae5e4b9fcdc5/
changeset: ae5e4b9fcdc5
user: John Glover
date: 2011-07-28 16:26:56
summary: Bug fix: id should be variable not string
affected #: 1 file (1 byte)
--- a/ckan/controllers/package.py Thu Jul 28 12:55:51 2011 +0100
+++ b/ckan/controllers/package.py Thu Jul 28 15:26:56 2011 +0100
@@ -378,7 +378,7 @@
errors = errors or {}
vars = {'data': data, 'errors': errors, 'error_summary': error_summary}
- self._setup_template_variables(context, {'id':'id'})
+ self._setup_template_variables(context, {'id': id})
c.form = render(self.package_form, extra_vars=vars)
return render('package/edit.html')
Repository URL: https://bitbucket.org/okfn/ckan/
--
This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.
More information about the ckan-changes
mailing list