Explorar o código

if boolean vars are quoted they become strings

jmunro %!s(int64=23) %!d(string=hai) anos
pai
achega
45c78218b4
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      config/conf.pl

+ 1 - 1
config/conf.pl

@@ -2497,7 +2497,7 @@ sub save_data {
 	# string
         print CF "\$prefs_val_field = '$prefs_val_field';\n";
 	# boolean
-	print CF "\$no_list_for_subscribe = '$no_list_for_subscribe';\n";
+	print CF "\$no_list_for_subscribe = $no_list_for_subscribe;\n";
         print CF "\n";
 
         print CF "/**\n";