I removed the validations for array
This commit is contained in:
@@ -831,7 +831,7 @@ function getEmailConfiguration ()
|
|||||||
* @param array | $aAttachment = array() | Attachment | An Optional arrray. An array of files (full paths) to be attached to the email.
|
* @param array | $aAttachment = array() | Attachment | An Optional arrray. An array of files (full paths) to be attached to the email.
|
||||||
* @param boolean | $showMessage = true | Show message | Optional parameter. Set to TRUE to show the message in the case's message history.
|
* @param boolean | $showMessage = true | Show message | Optional parameter. Set to TRUE to show the message in the case's message history.
|
||||||
* @param int | $delIndex = 0 | Delegation index of the case | Optional parameter. The delegation index of the current task in the case.
|
* @param int | $delIndex = 0 | Delegation index of the case | Optional parameter. The delegation index of the current task in the case.
|
||||||
* @param array | $config = array() | Email server configuration | An optional array: An array of parameters to be used in the Email sent (MESS_ENGINE, MESS_SERVER, MESS_PORT, MESS_FROM_MAIL, MESS_RAUTH, MESS_ACCOUNT, MESS_PASSWORD, and SMTPSecure).
|
* @param string(100) | $config = '' | Email server configuration | An optional array: An array of parameters to be used in the Email sent (MESS_ENGINE, MESS_SERVER, MESS_PORT, MESS_FROM_MAIL, MESS_RAUTH, MESS_ACCOUNT, MESS_PASSWORD, and SMTPSecure) Or String: UID of Email server .
|
||||||
* @return int | | result | Result of sending email
|
* @return int | | result | Result of sending email
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -565,6 +565,11 @@ class TriggerWizard
|
|||||||
break;
|
break;
|
||||||
case "bool":
|
case "bool":
|
||||||
case "boolean":
|
case "boolean":
|
||||||
|
$paramValue = 'true';
|
||||||
|
if($arrayParamData["input"][$paramName]!=''){
|
||||||
|
$paramValue = $arrayParamData["input"][$paramName];
|
||||||
|
}
|
||||||
|
break;
|
||||||
case "array":
|
case "array":
|
||||||
$paramValue = trim($arrayParamData["input"][$paramName]);
|
$paramValue = trim($arrayParamData["input"][$paramName]);
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user