From: Michael Andreen Date: Mon, 12 Nov 2007 20:13:20 +0000 (+0100) Subject: fixed settings X-Git-Url: https://ruin.nu/git/?a=commitdiff_plain;h=841eeb325c0a40a802c780e76d332290538408c0;p=ndwebbie.git fixed settings --- 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}; }