Merged in release/3.2.2 (pull request #6087)
Release/3.2.2 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';
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -53,7 +53,7 @@ class WebEntryEvent
|
||||
"WEE_TITLE" => array(
|
||||
"type" => "string",
|
||||
"required" => false,
|
||||
"empty" => false,
|
||||
"empty" => true,
|
||||
"defaultValues" => array(),
|
||||
"fieldNameAux" => "webEntryEventTitle"
|
||||
),
|
||||
|
||||
@@ -105,7 +105,7 @@ class PluginRegistry
|
||||
*/
|
||||
public function registerPlugin($Namespace, $Filename = null)
|
||||
{
|
||||
$ClassName = $Namespace . "plugin";
|
||||
$ClassName = $Namespace . "Plugin";
|
||||
$plugin = new $ClassName($Namespace, $Filename);
|
||||
|
||||
if (isset($this->_aPluginDetails[$Namespace])) {
|
||||
|
||||
Reference in New Issue
Block a user