From: Kevin Day Date: Mon, 20 Feb 2017 04:18:58 +0000 (-0600) Subject: Bugfix: silence socket_connect() warnings/errors X-Git-Url: https://git.kevux.org/?a=commitdiff_plain;h=ead449615a5003dd7576f6e7aca59a8a74236344;p=koopa Bugfix: silence socket_connect() warnings/errors --- 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);