Don't needlessly convert back and forth, to avoid potential issues with
undef values. The returned value is what we're looking for anyway,
Patch by kareila.
diffs (12 lines):
diff -r 59a347441ae9 -r 7563fc11f80c cgi-bin/LJ/S2.pm
--- a/cgi-bin/LJ/S2.pm Fri Dec 10 19:40:16 2010 +0800
+++ b/cgi-bin/LJ/S2.pm Thu Dec 16 22:53:38 2010 +0800
@@ -2124,7 +2124,7 @@ sub Page
'head_content' => '',
'data_link' => {},
'data_links_order' => [],
- '_styleopts' => \%{ LJ::viewing_style_opts( %$get ) },
+ _styleopts => LJ::viewing_style_opts( %$get ),
timeformat24 => $remote && $remote->use_24hour_time
};
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog