From ead449615a5003dd7576f6e7aca59a8a74236344 Mon Sep 17 00:00:00 2001 From: Kevin Day Date: Sun, 19 Feb 2017 22:18:58 -0600 Subject: [PATCH] Bugfix: silence socket_connect() warnings/errors --- program/reservation/reservation_session.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/program/reservation/reservation_session.php b/program/reservation/reservation_session.php index f9c07ec..bdee85d 100644 --- a/program/reservation/reservation_session.php +++ b/program/reservation/reservation_session.php @@ -117,7 +117,7 @@ return c_base_return_error::s_false(); } - $connected = socket_connect($socket, $settings['database_create_account_host'], $settings['database_create_account_port']); + $connected = @socket_connect($socket, $settings['database_create_account_host'], $settings['database_create_account_port']); if ($connected === FALSE) { socket_close($socket); unset($socket); -- 1.8.3.1