[dw-free] fix Location widget arguments in CreateAccountProfile widget
[commit: http://hg.dwscoalition.org/dw-free/rev/144ba4524d6e]
http://bugs.dwscoalition.org/show_bug.cgi?id=3162
Pass in arguments properly.
Patch by
kareila.
Files modified:
http://bugs.dwscoalition.org/show_bug.cgi?id=3162
Pass in arguments properly.
Patch by
![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
Files modified:
- cgi-bin/LJ/Widget/CreateAccountProfile.pm
-------------------------------------------------------------------------------- diff -r 458e61bf06ef -r 144ba4524d6e cgi-bin/LJ/Widget/CreateAccountProfile.pm --- a/cgi-bin/LJ/Widget/CreateAccountProfile.pm Fri Oct 22 22:51:27 2010 -0500 +++ b/cgi-bin/LJ/Widget/CreateAccountProfile.pm Sat Oct 23 12:27:29 2010 +0800 @@ -74,7 +74,7 @@ sub render_body { $ret .= "</td></tr>\n"; $ret .= "<tr valign='middle'><td class='field-name'>" . $class->ml('widget.createaccountprofile.field.location') . "</td>\n<td>"; - $ret .= LJ::Widget::Location->render( minimal_display => 1, skip_timezone => 1, $loc_post ); + $ret .= LJ::Widget::Location->render( minimal_display => 1, skip_timezone => 1, %$loc_post ); $ret .= "</td></tr>\n"; $ret .= "</table><br />\n"; --------------------------------------------------------------------------------