Browse Source

#4733 Okta connect: import fix

Alex Trofimov 1 year ago
parent
commit
08bcfb8c71
1 changed files with 1 additions and 1 deletions
  1. 1 1
      modules/boonex/okta_connect/classes/BxOktaConStudioPage.php

+ 1 - 1
modules/boonex/okta_connect/classes/BxOktaConStudioPage.php

@@ -90,7 +90,7 @@ class BxOktaConStudioPage extends BxTemplStudioModule
                             $sOutput .= "$row. EMPTY : <b class=\"err\">ERR - input data is empty</b><br />";
                         } else { 
                             $oAccount = BxDolAccount::getInstance(trim($data[$iEmail]));
-                            $oProfile = $oAccount ? BxDolProfile::getInstanceAccountProfile($oAccount->id()) : false;
+                            $oProfile = $oAccount ? BxDolProfile::getInstanceByAccount($oAccount->id()) : false;
                             if (!$oAccount || !$oProfile) {
                                 $sOutput .= "$row. {$data[$iEmail]} : <b class=\"err\">ERR - no matching account or profile was found</b><br />";
                             }