瀏覽代碼

Assign a default value to theme_default if not set.

Thijs Kinkhorst 23 年之前
父節點
當前提交
7e299ed4f5
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      config/conf.pl

+ 1 - 0
config/conf.pl

@@ -2417,6 +2417,7 @@ sub save_data {
 
 	# strings
         print CF "\$theme_css = '$theme_css';\n";
+	if ( $theme_default eq '' ) { $theme_default = '0'; }
         print CF "\$theme_default = $theme_default;\n";
 
         for ( $count = 0 ; $count <= $#theme_name ; $count++ ) {