mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-14 00:39:57 +09:00
planet addon, bookmark 애드온의 관리자 페이지에서의 오류 수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@4842 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
b7eaa3ed7b
commit
32dc218365
2 changed files with 4 additions and 6 deletions
|
|
@ -9,8 +9,9 @@
|
|||
|
||||
if($called_position == 'after_module_proc' && Context::getResponseMethod()!="XMLRPC" && Context::getResponseMethod()!="JSON") {
|
||||
$config = Context::get('config');
|
||||
if($config->mid == 'planet'){
|
||||
if($config && $config->mid == 'planet'){
|
||||
$oPlanet = Context::get('planet');
|
||||
if(!is_object($oPlanet)) return;
|
||||
if($oPlanet->isMyPlanet()){
|
||||
$oPlanetModel = &getModel('planet');
|
||||
$countBookmark = $oPlanetModel->getTagSearchResultCount($oPlanet->getModuleSrl(),'bookmark');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue