diff --git a/src/client-side-control-challenge.php b/src/client-side-control-challenge.php index 00eeeda6..119d1de1 100755 --- a/src/client-side-control-challenge.php +++ b/src/client-side-control-challenge.php @@ -44,7 +44,7 @@ public function __construct (){ //initialize encoder require_once __SITE_ROOT__.'/classes/EncodingHandler.php'; - $Encoder = new EncodingHandler(); + $this->Encoder = new EncodingHandler(); } catch(Exception $e){ echo $CustomErrorHandler->FormatError($e, "ClientFields.__construct()"); @@ -517,4 +517,4 @@ function onSubmitOfForm(/*HTMLFormElement*/ theForm){ if (lSubmitOccured){ document.getElementById("id-client-side-control-challenge-output-div").style.display=""; }// end if lSubmitOccured - \ No newline at end of file +