PMCORE-3928 Hide Active Session Warning disabled is not saved in the processmaker log
This commit is contained in:
@@ -3,11 +3,13 @@
|
|||||||
namespace ProcessMaker\BusinessModel;
|
namespace ProcessMaker\BusinessModel;
|
||||||
|
|
||||||
use BasePeer;
|
use BasePeer;
|
||||||
|
use Bootstrap;
|
||||||
use BpmnFlowPeer;
|
use BpmnFlowPeer;
|
||||||
use Content;
|
use Content;
|
||||||
use Criteria;
|
use Criteria;
|
||||||
use Exception;
|
use Exception;
|
||||||
use G;
|
use G;
|
||||||
|
use Illuminate\Support\Facades\Log;
|
||||||
use ProcessMaker\BusinessModel\Process as BusinessModelProcess;
|
use ProcessMaker\BusinessModel\Process as BusinessModelProcess;
|
||||||
use ProcessMaker\BusinessModel\Validator as BusinessModelValidator;
|
use ProcessMaker\BusinessModel\Validator as BusinessModelValidator;
|
||||||
use ProcessMaker\Core\System;
|
use ProcessMaker\Core\System;
|
||||||
@@ -984,6 +986,11 @@ class WebEntryEvent
|
|||||||
$result = $webEntryEvent->save();
|
$result = $webEntryEvent->save();
|
||||||
|
|
||||||
$cnn->commit();
|
$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
|
//Set WEE_TITLE
|
||||||
if (isset($arrayData["WEE_TITLE"])) {
|
if (isset($arrayData["WEE_TITLE"])) {
|
||||||
|
|||||||
Reference in New Issue
Block a user