Procházet zdrojové kódy

Fix one more thing

Andy Baugh před 11 měsíci
rodič
revize
17b53ff09d
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      lib/Trog/Themes.pm

+ 1 - 1
lib/Trog/Themes.pm

@@ -20,7 +20,7 @@ Utility functions for getting themed paths.
 our $template_dir = 'www/templates';
 
 sub get_dir {
-    state $tdir;
+    state $tdir = '';
     return $tdir if $tdir;
     my $conf = Trog::Config::get();
     $tdir = "www/themes/" . $conf->param('general.theme') if $conf->param('general.theme') && -d "www/themes/" . $conf->param('general.theme');