From aaaf00f1618b9441398fe1da3c48db79308e32c5 Mon Sep 17 00:00:00 2001 From: ProfXwing <50530928+ProfXwing@users.noreply.github.com> Date: Tue, 4 Mar 2025 11:12:19 -0500 Subject: [PATCH] fix: Initialize Encoder property correctly --- src/client-side-control-challenge.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 +