Kaynağa Gözat

#4733 Okta connect: import fix

Alex Trofimov 1 yıl önce
ebeveyn
işleme
08bcfb8c71

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