forked from extern/egroupware
Fix Fatal error: Cannot access self:: when no class scope is active. Happens only in PHP < 5.4
This commit is contained in:
parent
2ecc44147e
commit
f246349060
@ -246,7 +246,7 @@ class mail_integration {
|
|||||||
$data_message = preg_replace_callback(
|
$data_message = preg_replace_callback(
|
||||||
'/[-_+=~\.]{'.self::MAX_LINE_CHARS.',}/m',
|
'/[-_+=~\.]{'.self::MAX_LINE_CHARS.',}/m',
|
||||||
function($matches) {
|
function($matches) {
|
||||||
return substr($matches[0],0,self::MAX_LINE_CHARS);
|
return substr($matches[0],0, mail_integration::MAX_LINE_CHARS);
|
||||||
},
|
},
|
||||||
$mailcontent['message']
|
$mailcontent['message']
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user