summaryrefslogtreecommitdiff
path: root/it_mail.class
diff options
context:
space:
mode:
authorChristian Schneider2019-09-02 17:14:43 +0200
committerChristian Schneider2019-09-02 17:14:43 +0200
commit2b13737e9299317c865f72f4a276ea0b733c4f5f (patch)
treeb800cc0e889d976ba0957e168df45622aee24ee2 /it_mail.class
parentb422951038a66713c18ec4d24ce71a13dd0756a6 (diff)
downloaditools-2b13737e9299317c865f72f4a276ea0b733c4f5f.tar.gz
itools-2b13737e9299317c865f72f4a276ea0b733c4f5f.tar.bz2
itools-2b13737e9299317c865f72f4a276ea0b733c4f5f.zip
Make itools a bit stricter, new PHP versions start to enforce more declarations
Diffstat (limited to 'it_mail.class')
-rw-r--r--it_mail.class4
1 files changed, 2 insertions, 2 deletions
diff --git a/it_mail.class b/it_mail.class
index 8cb73fe..4033c06 100644
--- a/it_mail.class
+++ b/it_mail.class
@@ -308,9 +308,9 @@ function header_escape($string)
? ltrim(
($encoded = @iconv_mime_encode('', $string, array('scheme' => 'Q', 'input-charset' => $this->charset, 'output-charset' => $this->charset))) !== false
? $encoded
- : ($encoded = @iconv_mime_encode('', $string, array('scheme' => 'B', 'input-charset' => $this->charset, 'output-charset' => $this->charset))) !== false
+ : (($encoded = @iconv_mime_encode('', $string, array('scheme' => 'B', 'input-charset' => $this->charset, 'output-charset' => $this->charset))) !== false
? $encoded
- : iconv_mime_encode('', $string, array('scheme', 'B', 'input-charset' => 'ISO-8859-1', 'output-charset' => $this->charset)),
+ : iconv_mime_encode('', $string, array('scheme', 'B', 'input-charset' => 'ISO-8859-1', 'output-charset' => $this->charset))),
' :'
)
: $string;