@@ -164,7 +164,7 @@ class BxDolProfile extends BxDolFactory implements iBxDolProfile
$oProfile = $mixedProfileId;
$iId = $oProfile->id();
- $oAccount = $oProfile->getAccountObject();
+ $oAccount = BxDolAccount::getInstance(getLoggedId());
$aMembershipInfo = BxDolAcl::getInstance()->getMemberMembershipInfo($iId);
@@ -29,6 +29,14 @@ class BxTimelinePageViewItem extends BxTemplPage
$this->_iItemId = $iItemId;
}
+
+ protected function _isAvailablePage ($a)
+ {
+ if (!$this->_iItemId)
+ return false;
+ return parent::_isAvailablePage($a);
+ }
public function getCode()
{