Do not ignore the result of array_change_key_case()

parent 2649ae6a
...@@ -49,9 +49,8 @@ class OracleSessionInit implements EventSubscriber ...@@ -49,9 +49,8 @@ class OracleSessionInit implements EventSubscriber
return; return;
} }
array_change_key_case($this->_defaultSessionVars, CASE_UPPER);
$vars = []; $vars = [];
foreach ($this->_defaultSessionVars as $option => $value) { foreach (array_change_key_case($this->_defaultSessionVars, CASE_UPPER) as $option => $value) {
if ($option === 'CURRENT_SCHEMA') { if ($option === 'CURRENT_SCHEMA') {
$vars[] = $option . ' = ' . $value; $vars[] = $option . ' = ' . $value;
} else { } else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment