Fix CR.
This commit is contained in:
davidcallizaya
2017-09-28 09:07:57 -04:00
parent 9c4fc9f20b
commit 1ab89b34b0

View File

@@ -2,6 +2,7 @@
namespace ProcessMaker\BusinessModel; namespace ProcessMaker\BusinessModel;
use ProcessMaker\Core\System; use ProcessMaker\Core\System;
use WebEntryPeer;
class WebEntry class WebEntry
{ {
@@ -1079,7 +1080,7 @@ class WebEntry
*/ */
public function isWebEntryOne($weUid) public function isWebEntryOne($weUid)
{ {
$webEntry = \WebEntryPeer::retrieveByPK($weUid); $webEntry = WebEntryPeer::retrieveByPK($weUid);
return $webEntry->getWeType() === 'SINGLE' return $webEntry->getWeType() === 'SINGLE'
&& $webEntry->getWeAuthentication() === 'ANONYMOUS' && $webEntry->getWeAuthentication() === 'ANONYMOUS'
&& $webEntry->getWeCallback() === 'PROCESSMAKER'; && $webEntry->getWeCallback() === 'PROCESSMAKER';