Fix missing ?
parent
434ce6a08c
commit
c0c8a041ee
|
@ -112,7 +112,7 @@ sub zmDbConnect {
|
|||
.$socket . $sslOptions . ($options?join(';', '', map { $_.'='.$$options{$_} } keys %{$options} ) : '')
|
||||
, $ZoneMinder::Config::Config{ZM_DB_USER}
|
||||
, $ZoneMinder::Config::Config{ZM_DB_PASS}
|
||||
, { ($ZoneMinder::Config::Config{ZM_DB_TYPE} eq 'mysql' (mysql_enable_utf8mb4 => 1) : ()) }
|
||||
, { ($ZoneMinder::Config::Config{ZM_DB_TYPE} eq 'mysql' ? (mysql_enable_utf8mb4 => 1) : ()) }
|
||||
);
|
||||
};
|
||||
if ( !$dbh or $@ ) {
|
||||
|
|
Loading…
Reference in New Issue