Skip to content

Commit

Permalink
Fix oci8.old_oci_close_semantics deprecation is always displayed
Browse files Browse the repository at this point in the history
  • Loading branch information
kocsismate committed Jul 22, 2021
1 parent e1f211f commit 87c181a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/oci8/oci8.c
Expand Up @@ -132,7 +132,7 @@ static PHP_INI_MH(OnUpdateOldCloseSemantics)
bool *p = (bool *) ZEND_INI_GET_ADDR();
*p = zend_ini_parse_bool(new_value);

if (p) {
if (*p) {
zend_error(E_DEPRECATED, "Directive oci8.old_oci_close_semantics is deprecated");
}

Expand Down

0 comments on commit 87c181a

Please sign in to comment.