User_IsAuthorization()) { $oUserCurrent=$oEngine->User_GetUserCurrent(); $oBlog=$oEngine->Blog_GetPersonalBlogByUserId($oUserCurrent->getId()); } } else { $oBlog=$oEngine->Blog_GetBlogById($sBlogId); } if ($oBlog) { $bStateError=false; $sText=$oBlog->getDescription(); } $GLOBALS['_RESULT'] = array( "bStateError" => $bStateError, "sText" => $sText, ); ?>