app/soc/views/sponsor/profile.py
changeset 361 465e4df617de
parent 360 5ad9cabb5892
child 365 74dec172944e
--- a/app/soc/views/sponsor/profile.py	Thu Oct 16 17:30:58 2008 +0000
+++ b/app/soc/views/sponsor/profile.py	Thu Oct 16 17:34:10 2008 +0000
@@ -54,7 +54,7 @@
     link_name_sponsor = soc.logic.models.sponsor.logic.getIfFields(link_name=link_name)
   except out_of_band.ErrorResponse, error:
     # show custom 404 page when link name doesn't exist in Datastore
-    return simple.errorResponse(request, error, template, context, page)
+    return simple.errorResponse(request, page, error, template, context)
 
   link_name_sponsor.description = \
       helper.templates.unescape(link_name_sponsor.description)