Alex Trofimov 10 ani în urmă
părinte
comite
3e59b9a5c6
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      inc/classes/BxDolProfile.php

+ 1 - 1
inc/classes/BxDolProfile.php

@@ -382,7 +382,7 @@ class BxDolProfile extends BxDolFactory implements iBxDolProfile
         $oQuery = BxDolProfileQuery::getInstance();
         if (!($iProfileId = $oQuery->insertProfile ($iAccountId, $iContentId, $sStatus, $sType)))
             return false;
-        bx_alert('profile', 'add', $iProfileId, 0, array('module' => $sType, 'content' => $iContentId, 'account' => $iAccountId, 'status' => $sStatus, 'action' => $iAction));
+        bx_alert('profile', 'add', $iProfileId, 0, array('module' => $sType, 'content' => $iContentId, 'account' => $iAccountId, 'status' => $sStatus, 'action' => $iAction, 'profile_id' => &$iProfileId));
         return $iProfileId;
     }