]> Kevux Git Server - koopa/commitdiff
Bugfix: silence socket_connect() warnings/errors
authorKevin Day <thekevinday@gmail.com>
Mon, 20 Feb 2017 04:18:58 +0000 (22:18 -0600)
committerKevin Day <thekevinday@gmail.com>
Mon, 20 Feb 2017 04:18:58 +0000 (22:18 -0600)
program/reservation/reservation_session.php

index f9c07ecfef1be77644bd9269c06a6695cf61e0aa..bdee85d3f50e2e9306618b4cad8fe270e06cd715 100644 (file)
       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);