Skip to content
Snippets Groups Projects
Unverified Commit 7620b47b authored by Peter Rotich's avatar Peter Rotich Committed by GitHub
Browse files

Merge pull request #5097 from protich/issue/msg-variable

Make message variable (%{message}) optional
parents 1c987179 315c4e7c
No related branches found
No related tags found
No related merge requests found
......@@ -4162,9 +4162,9 @@ implements RestrictedAccess, Threadable, Searchable {
$msg = $ticket->replaceVars($msg->asArray(),
array(
'message' => $message,
'signature' => $signature,
'message' => $message ?: '',
'response' => $response ?: '',
'signature' => $signature,
'recipient' => $ticket->getOwner(), //End user
'staff' => $thisstaff,
)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment