Merge branch 'release/3.2' of bitbucket.org:colosa/processmaker into bugfix/HOR-2868
This commit is contained in:
@@ -5357,8 +5357,9 @@ class Cases
|
|||||||
if (!class_exists('System')) {
|
if (!class_exists('System')) {
|
||||||
G::LoadClass('system');
|
G::LoadClass('system');
|
||||||
}
|
}
|
||||||
$aConfiguration = ($aTaskInfo['TAS_EMAIL_SERVER_UID'] != '') ?
|
$aConfiguration = (!is_null(\EmailServerPeer::retrieveByPK($aTaskInfo['TAS_EMAIL_SERVER_UID']))) ?
|
||||||
$eServer->getEmailServer($aTaskInfo['TAS_EMAIL_SERVER_UID'], true) : $eServer->getEmailServerDefault();
|
$eServer->getEmailServer($aTaskInfo['TAS_EMAIL_SERVER_UID'], true) :
|
||||||
|
$eServer->getEmailServerDefault();
|
||||||
$msgError = '';
|
$msgError = '';
|
||||||
if (empty($aConfiguration)) {
|
if (empty($aConfiguration)) {
|
||||||
$msgError = G::LoadTranslation('ID_THE_DEFAULT_CONFIGURATION');
|
$msgError = G::LoadTranslation('ID_THE_DEFAULT_CONFIGURATION');
|
||||||
@@ -5440,8 +5441,9 @@ class Cases
|
|||||||
if (!class_exists('System')) {
|
if (!class_exists('System')) {
|
||||||
G::LoadClass('system');
|
G::LoadClass('system');
|
||||||
}
|
}
|
||||||
$aConfiguration = ($aTaskInfo['TAS_RECEIVE_SERVER_UID'] != '') ?
|
$aConfiguration = (!is_null(\EmailServerPeer::retrieveByPK($aTaskInfo['TAS_RECEIVE_SERVER_UID']))) ?
|
||||||
$eServer->getEmailServer($aTaskInfo['TAS_RECEIVE_SERVER_UID'], true) : $eServer->getEmailServerDefault();
|
$eServer->getEmailServer($aTaskInfo['TAS_RECEIVE_SERVER_UID'], true) :
|
||||||
|
$eServer->getEmailServerDefault();
|
||||||
$msgError = '';
|
$msgError = '';
|
||||||
if (empty($aConfiguration)) {
|
if (empty($aConfiguration)) {
|
||||||
$msgError = G::LoadTranslation('ID_THE_DEFAULT_CONFIGURATION');
|
$msgError = G::LoadTranslation('ID_THE_DEFAULT_CONFIGURATION');
|
||||||
|
|||||||
@@ -337,6 +337,9 @@
|
|||||||
<column name="APP_MSG_SEND_DATE" type="TIMESTAMP" required="true"/>
|
<column name="APP_MSG_SEND_DATE" type="TIMESTAMP" required="true"/>
|
||||||
<column name="APP_MSG_SHOW_MESSAGE" type="TINYINT" required="true" default="1"/>
|
<column name="APP_MSG_SHOW_MESSAGE" type="TINYINT" required="true" default="1"/>
|
||||||
<column name="APP_MSG_ERROR" type="LONGVARCHAR" required="false"/>
|
<column name="APP_MSG_ERROR" type="LONGVARCHAR" required="false"/>
|
||||||
|
<index name="indexForAppUid">
|
||||||
|
<index-column name="APP_UID"/>
|
||||||
|
</index>
|
||||||
</table>
|
</table>
|
||||||
<table name="APP_OWNER">
|
<table name="APP_OWNER">
|
||||||
<vendor type="mysql">
|
<vendor type="mysql">
|
||||||
|
|||||||
@@ -161,7 +161,8 @@ CREATE TABLE `APP_MESSAGE`
|
|||||||
`APP_MSG_SEND_DATE` DATETIME NOT NULL,
|
`APP_MSG_SEND_DATE` DATETIME NOT NULL,
|
||||||
`APP_MSG_SHOW_MESSAGE` TINYINT default 1 NOT NULL,
|
`APP_MSG_SHOW_MESSAGE` TINYINT default 1 NOT NULL,
|
||||||
`APP_MSG_ERROR` MEDIUMTEXT,
|
`APP_MSG_ERROR` MEDIUMTEXT,
|
||||||
PRIMARY KEY (`APP_MSG_UID`)
|
PRIMARY KEY (`APP_MSG_UID`),
|
||||||
|
KEY `indexForAppUid`(`APP_UID`)
|
||||||
)ENGINE=InnoDB DEFAULT CHARSET='utf8' COMMENT='Messages in an Application';
|
)ENGINE=InnoDB DEFAULT CHARSET='utf8' COMMENT='Messages in an Application';
|
||||||
#-----------------------------------------------------------------------------
|
#-----------------------------------------------------------------------------
|
||||||
#-- APP_OWNER
|
#-- APP_OWNER
|
||||||
|
|||||||
Reference in New Issue
Block a user