Merged in bugfix/PMCORE-3928 (pull request #8521)

PMCORE-3928 `Hide Active Session Warning` disabled is not saved in the processmaker log

Approved-by: Julio Cesar Laura Avendaño
This commit is contained in:
Roly Gutierrez
2022-08-16 18:11:36 +00:00
committed by Julio Cesar Laura Avendaño

View File

@@ -3,11 +3,13 @@
namespace ProcessMaker\BusinessModel;
use BasePeer;
use Bootstrap;
use BpmnFlowPeer;
use Content;
use Criteria;
use Exception;
use G;
use Illuminate\Support\Facades\Log;
use ProcessMaker\BusinessModel\Process as BusinessModelProcess;
use ProcessMaker\BusinessModel\Validator as BusinessModelValidator;
use ProcessMaker\Core\System;
@@ -984,6 +986,11 @@ class WebEntryEvent
$result = $webEntryEvent->save();
$cnn->commit();
//log register
if ($arrayData['WE_HIDE_ACTIVE_SESSION_WARNING'] === '1') {
Log::channel(':webEntry')->info('Enable hide active session warning', Bootstrap::context());
}
//Set WEE_TITLE
if (isset($arrayData["WEE_TITLE"])) {