planet addon, bookmark 애드온의 관리자 페이지에서의 오류 수정

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@4842 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2008-11-11 08:07:41 +00:00
parent b7eaa3ed7b
commit 32dc218365
2 changed files with 4 additions and 6 deletions

View file

@ -6,15 +6,12 @@
* @author SOL군 (sol@ngleader.com)
* @brief
**/
if($called_position == 'after_module_proc' && Context::getResponseMethod()!="XMLRPC" && Context::getResponseMethod()!="JSON") {
$config = Context::get('config');
//getTagSearchResultCount
if($config->mid == 'planet'){
if($config && $config->mid == 'planet'){
$oPlanet = Context::get('planet');
if(!is_object($oPlanet)) return;
if($oPlanet->isMyPlanet()){
$oPlanetModel = &getModel('planet');
$countTodo = $oPlanetModel->getTagSearchResultCount($oPlanet->getModuleSrl(),'todo');