mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-05 17:51:40 +09:00
Fix warning when update_log_setting attribute is not set
This commit is contained in:
parent
620fee05cf
commit
3f29726e24
1 changed files with 2 additions and 2 deletions
|
|
@ -925,7 +925,7 @@ class DocumentController extends Document
|
||||||
}
|
}
|
||||||
|
|
||||||
// Call a trigger (after)
|
// Call a trigger (after)
|
||||||
if($obj->update_log_setting === 'Y')
|
if (isset($obj->update_log_setting) && $obj->update_log_setting === 'Y')
|
||||||
{
|
{
|
||||||
$obj->extra_vars = serialize($extra_vars);
|
$obj->extra_vars = serialize($extra_vars);
|
||||||
$update_output = $this->insertDocumentUpdateLog($obj);
|
$update_output = $this->insertDocumentUpdateLog($obj);
|
||||||
|
|
@ -1381,7 +1381,7 @@ class DocumentController extends Document
|
||||||
}
|
}
|
||||||
|
|
||||||
// Update log
|
// Update log
|
||||||
if($obj->update_log_setting === 'Y')
|
if (isset($obj->update_log_setting) && $obj->update_log_setting === 'Y')
|
||||||
{
|
{
|
||||||
$obj->extra_vars = serialize($extra_vars);
|
$obj->extra_vars = serialize($extra_vars);
|
||||||
if($grant->manager)
|
if($grant->manager)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue