Fix missing ?

pull/3914/head
Isaac Connor 2024-04-05 18:12:24 -04:00
parent 434ce6a08c
commit c0c8a041ee
1 changed files with 1 additions and 1 deletions

View File

@ -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 $@ ) {