mark: A photo of Mark kneeling on top of the Taal Volcano in the Philippines. It was a long hike. (Default)
Mark Smith ([staff profile] mark) wrote in [site community profile] changelog2009-12-16 09:29 am

[dw-free] Convert /misc/whereami to TT

[commit: http://hg.dwscoalition.org/dw-free/rev/3b04b672b92e]

http://bugs.dwscoalition.org/show_bug.cgi?id=2236

Forgot to update this method with the changes to the controller.

Patch by [staff profile] mark.

Files modified:
  • cgi-bin/DW/Controller.pm
--------------------------------------------------------------------------------
diff -r 1d3f737cd7fd -r 3b04b672b92e cgi-bin/DW/Controller.pm
--- a/cgi-bin/DW/Controller.pm	Wed Dec 16 09:27:50 2009 +0000
+++ b/cgi-bin/DW/Controller.pm	Wed Dec 16 09:29:17 2009 +0000
@@ -43,7 +43,7 @@ sub needlogin {
 # returns an error page using a language string
 sub error_ml {
     return DW::Template::Apache2->render_template(
-        DW::Request->get->r, 'error.tt', { message => LJ::Lang::ml( $_[0] ) }
+        'error.tt', { message => LJ::Lang::ml( $_[0] ) }
     );
 }
 
--------------------------------------------------------------------------------

Post a comment in response:

This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org