diff --git a/CHANGELOG.md b/CHANGELOG.md
index aeac201de36b0adcba880882042e6233e2776043..1ef578c28ffc184954218c7ed73697b402ffee54 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,6 +2,8 @@
 All notable changes to this project will be documented in this file.
 
 ## [Unreleased]
+#### Fixed
+- Fixed the bug in using double '$'
 
 ## [v3.2.0]
 #### Added
diff --git a/lib/Auth/Process/DatabaseCommand.php b/lib/Auth/Process/DatabaseCommand.php
index f10d797bbac3ae01997b2c96bd58dd74123c7bf8..f97fab8a006f787a7341bec48c51bf2101e738e3 100644
--- a/lib/Auth/Process/DatabaseCommand.php
+++ b/lib/Auth/Process/DatabaseCommand.php
@@ -72,11 +72,11 @@ class DatabaseCommand
         }
 
         if ($this->databaseConnector->getMode() === 'IDP') {
-            $idpName = $$this->databaseConnector->getIdpName();
-            $idpEntityID = $$this->databaseConnector->getIdpEntityId();
+            $idpName = $this->databaseConnector->getIdpName();
+            $idpEntityID = $this->databaseConnector->getIdpEntityId();
         } elseif ($this->databaseConnector->getMode() === 'SP') {
-            $spEntityId = $$this->databaseConnector->getSpEntityId();
-            $spName = $$this->databaseConnector->getSpName();
+            $spEntityId = $this->databaseConnector->getSpEntityId();
+            $spName = $this->databaseConnector->getSpName();
         }
 
         $year = $date->format('Y');