[dw-free] uninitialized values in LJ::S2Theme
[commit: http://hg.dwscoalition.org/dw-free/rev/1b26525eb6ac]
http://bugs.dwscoalition.org/show_bug.cgi?id=3941
Fix warnings in the logs
Patch by
kareila.
Files modified:
http://bugs.dwscoalition.org/show_bug.cgi?id=3941
Fix warnings in the logs
Patch by
![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
Files modified:
- cgi-bin/LJ/S2Theme.pm
-------------------------------------------------------------------------------- diff -r e6dfd07950be -r 1b26525eb6ac cgi-bin/LJ/S2Theme.pm --- a/cgi-bin/LJ/S2Theme.pm Thu Sep 15 15:40:28 2011 +0800 +++ b/cgi-bin/LJ/S2Theme.pm Thu Sep 15 15:42:33 2011 +0800 @@ -470,7 +470,7 @@ } # package name for the layout - my $layout_class = $self->{uniq} || $self->{layout_uniq}; + my $layout_class = $self->{uniq} || $self->{layout_uniq} || ''; $layout_class =~ s/\/.+//; $layout_class =~ s/-/_/g; $layout_class = "LJ::S2Theme::$layout_class"; --------------------------------------------------------------------------------