Fix unnecessary assignment by reference, which causes E_NOTICE

This commit is contained in:
Kijin Sung 2024-01-04 01:16:40 +09:00
parent ed15587c4f
commit 6c113c22ed
35 changed files with 80 additions and 84 deletions

View file

@ -1016,7 +1016,7 @@ class DocumentModel extends Document
$security->encodeHTML('extra_keys..', 'selected_var_idx');
// Get information of module_grants
$oTemplate = &TemplateHandler::getInstance();
$oTemplate = TemplateHandler::getInstance();
return $oTemplate->compile($this->module_path.'tpl', 'extra_keys');
}
@ -1037,7 +1037,7 @@ class DocumentModel extends Document
$security->encodeHTML('group_list..title');
// Get information of module_grants
$oTemplate = &TemplateHandler::getInstance();
$oTemplate = TemplateHandler::getInstance();
return $oTemplate->compile($this->module_path.'tpl', 'category_list');
}