mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-05 17:51:40 +09:00
logged_info를 선언하지 않고 사용하여 빈값으로 들어가는 문제 고침
This commit is contained in:
parent
677e63037f
commit
4604448c0e
1 changed files with 2 additions and 1 deletions
|
|
@ -665,6 +665,8 @@ class documentController extends document
|
|||
if(!isset($document_config->use_history)) $document_config->use_history = 'N';
|
||||
$bUseHistory = $document_config->use_history == 'Y' || $document_config->use_history == 'Trace';
|
||||
|
||||
$logged_info = Context::get('logged_info');
|
||||
|
||||
if($bUseHistory)
|
||||
{
|
||||
$args = new stdClass;
|
||||
|
|
@ -733,7 +735,6 @@ class documentController extends document
|
|||
}
|
||||
|
||||
// If an author is identical to the modifier or history is used, use the logged-in user's information.
|
||||
$logged_info = Context::get('logged_info');
|
||||
if(Context::get('is_logged') && !$manual_updated && !$obj->manual_member_info)
|
||||
{
|
||||
if($source_obj->get('member_srl')==$logged_info->member_srl)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue