Merged in bugfix/HOR-3905 (pull request #6082)
HOR-3905 Approved-by: Marco Antonio Nina Mena <marco.antonio.nina@processmaker.com> Approved-by: Paula Quispe <paula.quispe@processmaker.com>
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
namespace ProcessMaker\BusinessModel;
|
||||
|
||||
use ProcessMaker\Core\System;
|
||||
use WebEntryPeer;
|
||||
|
||||
class WebEntry
|
||||
{
|
||||
@@ -1079,8 +1080,10 @@ class WebEntry
|
||||
*/
|
||||
public function isWebEntryOne($weUid)
|
||||
{
|
||||
$webEntry = \WebEntryPeer::retrieveByPK($weUid);
|
||||
return $webEntry->getWeType()==='SINGLE' && $webEntry->getWeAuthentication()==='ANONYMOUS';
|
||||
$webEntry = WebEntryPeer::retrieveByPK($weUid);
|
||||
return $webEntry->getWeType() === 'SINGLE'
|
||||
&& $webEntry->getWeAuthentication() === 'ANONYMOUS'
|
||||
&& $webEntry->getWeCallback() === 'PROCESSMAKER';
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user