fix typos

This commit is contained in:
Isaac Connor 2017-01-15 10:56:57 -05:00
parent 4973d8c74c
commit c79dfb6a16
1 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@ sub zmDbConnect {
$socket = ";host=".$Config{ZM_DB_HOST};
}
$dbh = DBI->connect( "DBI:mysql:database=".$Config{ZM_DB_NAME}
.$socket . ($options?'.'.join(';', map { $_.'='.$$options{$_} } keys %{$options} ))
.$socket . ($options?';'.join(';', map { $_.'='.$$options{$_} } keys %{$options} ) : '' )
, $Config{ZM_DB_USER}
, $Config{ZM_DB_PASS}
);