Skip to content

Commit

Permalink
Fix institution id to generate if empty (openemr#6416)
Browse files Browse the repository at this point in the history
Telehealth settings needs to use the UniqueInstallationUuid instead of
using the globals.
  • Loading branch information
adunsulag authored Apr 29, 2023
1 parent 5e98186 commit 735cad5
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
use OpenEMR\Common\Crypto\CryptoGen;
use OpenEMR\Common\Database\QueryUtils;
use OpenEMR\Common\Logging\SystemLogger;
use OpenEMR\Common\Uuid\UniqueInstallationUuid;
use OpenEMR\Services\Globals\GlobalSetting;
use OpenEMR\Services\Globals\GlobalsService;
use MyMailer;
Expand Down Expand Up @@ -253,7 +254,7 @@ public function getImagesStaticRelative()

public function getInstitutionId()
{
return $this->getGlobalSetting(self::UNIQUE_INSTALLATION_ID);
return UniqueInstallationUuid::getUniqueInstallationUuid();
}

public function getInstitutionName()
Expand Down

0 comments on commit 735cad5

Please sign in to comment.