mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-13 23:42:13 +09:00
NOISSUE PHP 5.4 이상 호환성 개선.
This commit is contained in:
parent
742af78932
commit
41ff8ace3b
32 changed files with 365 additions and 113 deletions
|
|
@ -74,6 +74,7 @@ class moduleAdminController extends module
|
|||
*/
|
||||
function doDeleteModuleCategory()
|
||||
{
|
||||
$args = new stdClass;
|
||||
$args->module_category_srl = Context::get('module_category_srl');
|
||||
return executeQuery('module.deleteModuleCategory', $args);
|
||||
}
|
||||
|
|
@ -579,6 +580,8 @@ class moduleAdminController extends module
|
|||
$grant_list->manager = new stdClass();
|
||||
$grant_list->manager->default = 'manager';
|
||||
|
||||
$grant = new stdClass;
|
||||
|
||||
foreach($grant_list as $grant_name => $grant_info)
|
||||
{
|
||||
// Get the default value
|
||||
|
|
@ -736,8 +739,9 @@ class moduleAdminController extends module
|
|||
$site_keyword = Context::get('site_keyword');
|
||||
$site_srl = Context::get('site_srl');
|
||||
$vid = Context::get('vid');
|
||||
|
||||
// If there is no site keyword, use as information of the current virtual site
|
||||
$args = null;
|
||||
$args = new stdClass;
|
||||
$logged_info = Context::get('logged_info');
|
||||
$site_module_info = Context::get('site_module_info');
|
||||
if($site_keyword) $args->site_keyword = $site_keyword;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue