From: gggeek Date: Sun, 27 Nov 2022 15:42:26 +0000 (+0000) Subject: oops X-Git-Tag: 4.9.0~6 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=3f3f214719d770efc70b902cdfadbdb36e669353;p=plcapi.git oops --- diff --git a/debugger/common.php b/debugger/common.php index 3f9add21..706f03ff 100644 --- a/debugger/common.php +++ b/debugger/common.php @@ -86,8 +86,8 @@ if (isset($_GET['action'])) { } } $host = isset($_GET['host']) ? $_GET['host'] : 'localhost'; // using '' will trigger an xmlrpc error... - if (isset($_GET['protocol']) && ($_GET['protocol'] == '1' || $_GET['protocol'] == '2' || $_GET['protocol'] == '3') - || $_GET['protocol'] == '4') { + if (isset($_GET['protocol']) && ($_GET['protocol'] == '1' || $_GET['protocol'] == '2' || $_GET['protocol'] == '3' + || $_GET['protocol'] == '4')) { $protocol = $_GET['protocol']; } if (strpos($host, 'http://') === 0) {