summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'Echo/includes/formatters/EchoPlainTextEmailFormatter.php')
-rw-r--r--Echo/includes/formatters/EchoPlainTextEmailFormatter.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Echo/includes/formatters/EchoPlainTextEmailFormatter.php b/Echo/includes/formatters/EchoPlainTextEmailFormatter.php
index 34fdc7d1..33825136 100644
--- a/Echo/includes/formatters/EchoPlainTextEmailFormatter.php
+++ b/Echo/includes/formatters/EchoPlainTextEmailFormatter.php
@@ -44,7 +44,7 @@ class EchoPlainTextEmailFormatter extends EchoEventFormatter {
->getFullURL( '', false, PROTO_CANONICAL );
$text = "--\n\n$footerMsg\n$prefsUrl";
- if ( strlen( $wgEchoEmailFooterAddress ) ) {
+ if ( $wgEchoEmailFooterAddress !== '' ) {
$text .= "\n\n$wgEchoEmailFooterAddress";
}