Fixed problem with blank boolean values
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@3347 e3e1d417-86f3-4887-817a-d78f3d33393f
This commit is contained in:
parent
ee5d8db0cd
commit
d26f3a7e8c
|
@ -184,7 +184,7 @@ sub generateConfigSQL
|
|||
sub addSlashes
|
||||
{
|
||||
my $string = shift;
|
||||
return( "" ) unless $string;
|
||||
return( "" ) if ( !defined($string) );
|
||||
$string =~ s|(['"])|\\$1|g;
|
||||
return( $string );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue