Fixed a bug in access.py where a non-existing variable would have been called.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
--- a/app/soc/views/helper/access.py Sun Feb 15 11:13:46 2009 +0000
+++ b/app/soc/views/helper/access.py Sun Feb 15 11:14:26 2009 +0000
@@ -744,7 +744,7 @@
if key_name_arg and key_name_arg in django_args:
key_name = django_args[key_name_arg]
else:
- key_name = program_logic.getKeyNameFromFields(fields)
+ key_name = program_logic.getKeyNameFromFields(django_args)
program_entity = program_logic.getFromKeyName(key_name)