]> git.proxmox.com Git - pmg-api.git/blobdiff - src/PMG/Service/pmgproxy.pm
proxy: initialize the theme variable with an empty string
[pmg-api.git] / src / PMG / Service / pmgproxy.pm
index 310519a427ee57d36560660274961e782ca7d614..5bd9de21072a2316794936b10e1d84c367187f35 100755 (executable)
@@ -199,7 +199,7 @@ sub get_index {
        $mobile = $args->{mobile} ? 1 : 0;
     }
 
-    my $theme;
+    my $theme = "";
 
     if (my $cookie = $r->header('Cookie')) {
        if (my $newlang = ($cookie =~ /(?:^|\s)PMGLangCookie=([^;]*)/)[0]) {