diff --git a/zmconfgen.pl.in b/zmconfgen.pl.in index 4ffc6371e..5acc98daa 100644 --- a/zmconfgen.pl.in +++ b/zmconfgen.pl.in @@ -184,7 +184,7 @@ sub generateConfigSQL sub addSlashes { my $string = shift; - return( "" ) unless $string; + return( "" ) if ( !defined($string) ); $string =~ s|(['"])|\\$1|g; return( $string ); }