Skip to content

Commit 0cbcdad

Browse files
authored
do not try and set mysqli ssl option through mysqli_options since it is set later via mysqli_ssl_set (matomo-org#17788)
1 parent 960528b commit 0cbcdad

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

libs/Zend/Db/Adapter/Mysqli.php

+1
Original file line numberDiff line numberDiff line change
@@ -313,6 +313,7 @@ protected function _connect()
313313
if(array_key_exists($option, $ssl_options)) {
314314
$ssl_options[$option] = $value;
315315
$enable_ssl = true;
316+
continue; // these options are set below in mysqli_ssl_set
316317
} elseif(is_string($option)) {
317318
// Suppress warnings here
318319
// Ignore it if it's not a valid constant

0 commit comments

Comments
 (0)