summaryrefslogtreecommitdiff
path: root/libpiny/lib/Piny/Config.pm
diff options
context:
space:
mode:
Diffstat (limited to 'libpiny/lib/Piny/Config.pm')
-rw-r--r--libpiny/lib/Piny/Config.pm4
1 files changed, 4 insertions, 0 deletions
diff --git a/libpiny/lib/Piny/Config.pm b/libpiny/lib/Piny/Config.pm
index 718af5c..7ba1fd5 100644
--- a/libpiny/lib/Piny/Config.pm
+++ b/libpiny/lib/Piny/Config.pm
@@ -107,6 +107,10 @@ sub _build__conf {
};
+ foreach my $key ( keys %$conf ) {
+ $conf->{$key} = "" unless defined $conf->{$key};
+ };
+
return $conf;
};