# HG changeset patch # User Todd Larsen # Date 1222222932 0 # Node ID 80f08751f1e51906f00886e4ae948f47ab04b398 # Parent b1351bf810640927082e2ee566c2f6d58dc0d7da These changes should have been in r620, but somehow I did not save them, or saved over them with an old copy in the editor. Not sure... diff -r b1351bf81064 -r 80f08751f1e5 app/soc/views/user/profile.py --- a/app/soc/views/user/profile.py Tue Sep 23 23:30:15 2008 +0000 +++ b/app/soc/views/user/profile.py Wed Sep 24 02:22:12 2008 +0000 @@ -138,15 +138,15 @@ # is 'Profile saved' parameter present, but referrer was not ourself? # (e.g. someone bookmarked the GET that followed the POST submit) if (request.GET.get(SUBMIT_MSG_PARAM_NAME) - and (not response_helpers.isReferrerSelf(request, - suffix=linkname))): + and (not request_helpers.isReferrerSelf(request, + suffix=linkname))): # redirect to aggressively remove 'Profile saved' query parameter return http.HttpResponseRedirect(request.path) # referrer was us, so select which submit message to display # (may display no message if ?s=0 parameter is not present) context['submit_message'] = ( - url_helpers.getSingleIndexedParamValue( + request_helpers.getSingleIndexedParamValue( request, SUBMIT_MSG_PARAM_NAME, values=SUBMIT_MESSAGES)) # populate form with the existing User entity