WebEntry2: Fix the combination "Single-Anonymous" with "Redirect to custom URL" was working as Webentry1, it was fixed and
goes through the Webentry2 flow.
This commit is contained in:
davidcallizaya
2017-09-28 08:47:51 -04:00
parent 56d26a878d
commit 9c4fc9f20b

View File

@@ -1080,7 +1080,9 @@ class WebEntry
public function isWebEntryOne($weUid)
{
$webEntry = \WebEntryPeer::retrieveByPK($weUid);
return $webEntry->getWeType()==='SINGLE' && $webEntry->getWeAuthentication()==='ANONYMOUS';
return $webEntry->getWeType() === 'SINGLE'
&& $webEntry->getWeAuthentication() === 'ANONYMOUS'
&& $webEntry->getWeCallback() === 'PROCESSMAKER';
}
/**