Skip to content

Commit b1ad52e

Browse files
committed
Fixed how variable is called.
1 parent 9327c2a commit b1ad52e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ToolkitApi/ToolkitService.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1064,9 +1064,9 @@ public function getDiagnostics($info = 'joblog', $jobName = '', $jobUser = '', $
10641064
return $xmlWrapper->parseDiagnosticsXml($outputXml);
10651065
} else {
10661066
// error or no info
1067-
$this->cpfErr = $this->XMLWrapper->getErrorCode();
1067+
$this->cpfErr = $xmlWrapper->getErrorCode();
10681068
$this->error = $this->cpfErr; // ->error is ambiguous. Include for backward compat.
1069-
$this->errorText = $this->XMLWrapper->getErrorMsg();
1069+
$this->errorText = $xmlWrapper->getErrorMsg();
10701070
return false;
10711071
}
10721072
// get status: error or success, with a real CPF error message, and set the error code/msg.

0 commit comments

Comments
 (0)