From 242798a27c3a0d099ef901c3f7c49c7dd1efcb1b Mon Sep 17 00:00:00 2001 From: 0xcrypto Date: Tue, 20 Apr 2021 04:34:06 +0530 Subject: [PATCH] Parenthesized the confused ternary operation Fixes https://github.com/boxbilling/boxbilling/issues/848 --- src/bb-modules/Servicecentovacast/ccapiclient.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/bb-modules/Servicecentovacast/ccapiclient.php b/src/bb-modules/Servicecentovacast/ccapiclient.php index 13557122e..7fb2897e0 100644 --- a/src/bb-modules/Servicecentovacast/ccapiclient.php +++ b/src/bb-modules/Servicecentovacast/ccapiclient.php @@ -44,8 +44,8 @@ class CCBaseAPIClient { '', htmlentities($this->classname), htmlentities($methodname), - $this->debug ? ' debug="enabled"' : '' . - $this->debugconsole ? ' debugconsole="'.htmlentities($this->debugconsole).'"' : '', + ($this->debug ? ' debug="enabled"' : '') . + ($this->debugconsole ? ' debugconsole="'.htmlentities($this->debugconsole).'"' : ''), $payload ); } @@ -351,4 +351,4 @@ if (!defined('CCAPI_NO_OVERLOAD')) { die('The CentovaCast PHP API client requires that object overloading support is built into PHP.'); } } -?> \ No newline at end of file +?>