diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/build_post.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/build_post.php b/src/build_post.php index 6d95be1..2685d69 100644 --- a/src/build_post.php +++ b/src/build_post.php @@ -19,7 +19,8 @@ function build_post_subject($listtag, $forumtag, $subject) { } // ensure nonempty subject - if (trim($subject) == '') { + $subject = trim($subject); + if ($subject == '') { $subject = '(no subject)'; } |