mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-30 09:48:38 +01:00
Fix some IDE warning
This commit is contained in:
parent
02ad6049fe
commit
76d22e8515
@ -262,7 +262,7 @@ abstract class bo_tracking
|
||||
*
|
||||
* Need to be implemented in your extended tracking class!
|
||||
*
|
||||
* @param string $what possible values are:
|
||||
* @param string $name possible values are:
|
||||
* - 'assigned' array of users to use instead of a field in the data
|
||||
* - 'copy' array of email addresses notifications should be copied too, can depend on $data
|
||||
* - 'lang' string lang code for copy mail
|
||||
@ -970,7 +970,7 @@ abstract class bo_tracking
|
||||
if($this->get_config(self::CUSTOM_NOTIFICATION, $data, $old))
|
||||
{
|
||||
$body = $this->get_custom_message($data,$old);
|
||||
if($sig = $this->get_signature($data,$old,$receiver))
|
||||
if(($sig = $this->get_signature($data,$old,$receiver)))
|
||||
{
|
||||
$body .= ($html_email ? '<br />':'') . "\n$sig";
|
||||
}
|
||||
@ -1007,7 +1007,7 @@ abstract class bo_tracking
|
||||
{
|
||||
$body .= "</table>\n";
|
||||
}
|
||||
if($sig = $this->get_signature($data,$old,$receiver))
|
||||
if(($sig = $this->get_signature($data,$old,$receiver)))
|
||||
{
|
||||
$body .= ($html_email ? '<br />':'') . "\n$sig";
|
||||
}
|
||||
@ -1120,6 +1120,9 @@ abstract class bo_tracking
|
||||
|
||||
/**
|
||||
* Get a (global) signature to append to the change notificaiton
|
||||
* @param array $data
|
||||
* @param type $old
|
||||
* @param type $receiver
|
||||
*/
|
||||
protected function get_signature($data, $old, $receiver)
|
||||
{
|
||||
|
@ -303,7 +303,7 @@ class infolog_tracking extends bo_tracking
|
||||
/**
|
||||
* Get a notification-config value
|
||||
*
|
||||
* @param string $what
|
||||
* @param string $name
|
||||
* - 'copy' array of email addresses notifications should be copied too, can depend on $data
|
||||
* - 'lang' string lang code for copy mail
|
||||
* - 'sender' string send email address
|
||||
|
Loading…
Reference in New Issue
Block a user