mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-05 17:18:13 +01:00
Fix: Return of function with no return should not be set into a
variable.
This commit is contained in:
@@ -62,7 +62,7 @@ class CMailFile
|
|||||||
var $css;
|
var $css;
|
||||||
//! Defined css style for body background
|
//! Defined css style for body background
|
||||||
var $styleCSS;
|
var $styleCSS;
|
||||||
//! Defined bacckground directly in body tag
|
//! Defined background directly in body tag
|
||||||
var $bodyCSS;
|
var $bodyCSS;
|
||||||
|
|
||||||
// Image
|
// Image
|
||||||
@@ -256,7 +256,7 @@ class CMailFile
|
|||||||
if (!empty($css))
|
if (!empty($css))
|
||||||
{
|
{
|
||||||
$this->css = $css;
|
$this->css = $css;
|
||||||
$this->styleCSS = $this->buildCSS();
|
$this->buildCSS();
|
||||||
}
|
}
|
||||||
$msg = $this->html;
|
$msg = $this->html;
|
||||||
$msg = $this->checkIfHTML($msg);
|
$msg = $this->checkIfHTML($msg);
|
||||||
@@ -308,7 +308,7 @@ class CMailFile
|
|||||||
if (!empty($css))
|
if (!empty($css))
|
||||||
{
|
{
|
||||||
$this->css = $css;
|
$this->css = $css;
|
||||||
$this->styleCSS = $this->buildCSS();
|
$this->buildCSS();
|
||||||
}
|
}
|
||||||
$msg = $this->html;
|
$msg = $this->html;
|
||||||
$msg = $this->checkIfHTML($msg);
|
$msg = $this->checkIfHTML($msg);
|
||||||
@@ -624,7 +624,7 @@ class CMailFile
|
|||||||
if ($this->css['bgcolor'])
|
if ($this->css['bgcolor'])
|
||||||
{
|
{
|
||||||
$this->styleCSS.= ' background-color: '.$this->css['bgcolor'].';';
|
$this->styleCSS.= ' background-color: '.$this->css['bgcolor'].';';
|
||||||
$this->bodyCSS.= ' BGCOLOR="'.$this->css['bgcolor'].'"';
|
$this->bodyCSS.= ' bgcolor="'.$this->css['bgcolor'].'"';
|
||||||
}
|
}
|
||||||
if ($this->css['bgimage'])
|
if ($this->css['bgimage'])
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user