X-Git-Url: https://ruin.nu/git/?a=blobdiff_plain;f=NDWeb%2FPages%2FSettings.pm;h=962035e6709360168f1a812e1c1d24d660a71246;hb=1ac7abba88180254eaf3a65e1aded1c6d7c42576;hp=8c0441407398faaff1df29d2429ebb276626505a;hpb=a074bd17f5e8ba341a22bbfca1da7093b8351774;p=ndwebbie.git diff --git a/NDWeb/Pages/Settings.pm b/NDWeb/Pages/Settings.pm index 8c04414..962035e 100644 --- a/NDWeb/Pages/Settings.pm +++ b/NDWeb/Pages/Settings.pm @@ -47,7 +47,7 @@ sub render_body { my ($css) = $DBH->selectrow_array(q{SELECT css FROM users WHERE uid = $1},undef,$ND::UID); my @stylesheets = ({Style => 'Default'}); $css = '' unless defined $css; - while (){ + while (){ if(m{stylesheets/(\w+)\.css}){ push @stylesheets,{Style => $1, Selected => $1 eq $css ? 1 : 0}; }