mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-06 18:21:39 +09:00
#19705602 module related DB select column arrangement
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8358 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
914f4d7ef0
commit
ee276fe56e
30 changed files with 133 additions and 78 deletions
|
|
@ -29,7 +29,8 @@
|
|||
if($args->use_mobile != 'Y') $args->use_mobile = '';
|
||||
// Check if an original module exists by using module_srl
|
||||
if($args->module_srl) {
|
||||
$module_info = $oModuleModel->getModuleInfoByModuleSrl($args->module_srl);
|
||||
$columnList = array('module_srl');
|
||||
$module_info = $oModuleModel->getModuleInfoByModuleSrl($args->module_srl, $columnList);
|
||||
if($module_info->module_srl != $args->module_srl) {
|
||||
unset($args->module_srl);
|
||||
}
|
||||
|
|
@ -192,7 +193,8 @@
|
|||
$module_srl = Context::get('module_srl');
|
||||
|
||||
$oModuleModel = &getModel('module');
|
||||
$module_info = $oModuleModel->getModuleInfoByModuleSrl($module_srl);
|
||||
$columnList = array('module_srl', 'content');
|
||||
$module_info = $oModuleModel->getModuleInfoByModuleSrl($module_srl, $columnList);
|
||||
|
||||
$content = $module_info->content;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue