The branch, master has been updated via 9bc7ffd3bcc6b9f5614be6e1aff7f76998a600e1 (commit) from 2a0f636f5cc0a9cd91e00a2a2ceb34a5b65c97aa (commit)
- Log ----------------------------------------------------------------- commit 9bc7ffd3bcc6b9f5614be6e1aff7f76998a600e1 Author: Michal Čihař michal@cihar.com Date: Tue Apr 20 08:01:26 2010 +0200
Port should be an integer.
-----------------------------------------------------------------------
Summary of changes: server_synchronize.php | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/server_synchronize.php b/server_synchronize.php index bc03c32..365a431 100644 --- a/server_synchronize.php +++ b/server_synchronize.php @@ -76,7 +76,7 @@ if ((isset($_REQUEST['submit_connect']))) { } else { ${"{$con}_server"}['host'] = ${"{$con}_host"}; if (isset(${"{$con}_port"}) && ! empty(${"{$con}_port"}) && ((int)${"{$con}_port"} * 1) > 0) { - ${"{$con}_server"}['port'] = ${"{$con}_port"}; + ${"{$con}_server"}['port'] = (int)${"{$con}_port"}; } }
hooks/post-receive