if (!isset($defect)) {
try {
- /* do not recreate $clientSOAP object if already created by other pages */
- if (!isset($clientSOAP))
+ /* do not recreate $clientSOAP object if already created by other pages */
+ if (!isset($clientSOAP)) {
$clientSOAP = new SoapClient($mantisbtConf['url'].'/api/soap/mantisconnect.php?wsdl', array('trace' => true, 'exceptions' => true));
-
+ }
$defect = $clientSOAP->__soapCall('mc_issue_get', array('username' => $username, 'password' => $password, 'issue_id' => $idBug));
} catch (SoapFault $soapFault) {
echo $HTML->warning_msg(_('Technical error occurs during data retrieving')._(': ').$soapFault->faultstring);