From 97bef32976f4a2a04abb8e84ecd8c48f7f71fef4 Mon Sep 17 00:00:00 2001 From: Kamil Tekiela Date: Sun, 7 Nov 2021 13:25:03 +0000 Subject: [PATCH] Invalid condition in connect.inc --- ext/mysqli/tests/connect.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/mysqli/tests/connect.inc b/ext/mysqli/tests/connect.inc index f21e1424ba9..ca7caca013d 100644 --- a/ext/mysqli/tests/connect.inc +++ b/ext/mysqli/tests/connect.inc @@ -91,7 +91,7 @@ $flags = ($enable_env_flags) ? $connect_flags : 0; - if ($flags !== false) { + if ($flags !== 0) { parent::__construct(); $this->real_connect($host, $user, $passwd, $db, $port, $socket, $flags); } else {