mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 19:51:42 +09:00
planet 설정이 되지 않았을 경우 생기는 PHP Script 오류 수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6298 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
99e1e0d97b
commit
1b4c6c3b6f
1 changed files with 1 additions and 1 deletions
|
|
@ -19,7 +19,7 @@
|
|||
$oPlanetModel = &getModel('planet');
|
||||
$oModuleModel = &getModel('module');
|
||||
$planet_config = $oPlanetModel->getPlanetConfig();
|
||||
foreach($this->module_info as $key => $val) if(!isset($planet_config->{$key})) $planet_config->{$key} = $val;
|
||||
if(count($this->module_info)) foreach($this->module_info as $key => $val) if(!isset($planet_config->{$key})) $planet_config->{$key} = $val;
|
||||
|
||||
Context::set('module_info',$this->module_info = $planet_config);
|
||||
$current_module_info = Context::get('current_module_info');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue