mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 11:44:10 +09:00
getModuleSrlByMid에서 mid값이 , 로 연결된 다수의 mid일때에도 정상적으로 동작하도록 코드 개선
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@5213 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
7fab10e4ac
commit
7992a7e888
1 changed files with 1 additions and 0 deletions
|
|
@ -129,6 +129,7 @@
|
||||||
* @brief mid 목록에 대응하는 module_srl을 배열로 return
|
* @brief mid 목록에 대응하는 module_srl을 배열로 return
|
||||||
**/
|
**/
|
||||||
function getModuleSrlByMid($mid) {
|
function getModuleSrlByMid($mid) {
|
||||||
|
if($mid && !is_array($mid)) $mid = explode(',',$mid);
|
||||||
if(is_array($mid)) $mid = "'".implode("','",$mid)."'";
|
if(is_array($mid)) $mid = "'".implode("','",$mid)."'";
|
||||||
|
|
||||||
$site_module_info = Context::get('site_module_info');
|
$site_module_info = Context::get('site_module_info');
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue