summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-01-19 08:17:19 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-01-19 08:17:19 +0800
commit2309a21b1d58a111b0d29bab3d74bf6c255d6bbb (patch)
tree74fed9c3625b149ae5ee7d7a3c04f35209d4492b /util
parent3d2d003e23d123cfa63f22dfc2d8753d8de5c383 (diff)
downloadpttbbs-2309a21b1d58a111b0d29bab3d74bf6c255d6bbb.tar
pttbbs-2309a21b1d58a111b0d29bab3d74bf6c255d6bbb.tar.gz
pttbbs-2309a21b1d58a111b0d29bab3d74bf6c255d6bbb.tar.bz2
pttbbs-2309a21b1d58a111b0d29bab3d74bf6c255d6bbb.tar.lz
pttbbs-2309a21b1d58a111b0d29bab3d74bf6c255d6bbb.tar.xz
pttbbs-2309a21b1d58a111b0d29bab3d74bf6c255d6bbb.tar.zst
pttbbs-2309a21b1d58a111b0d29bab3d74bf6c255d6bbb.zip
skip null data
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@631 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'util')
-rw-r--r--util/udnnews.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/util/udnnews.pl b/util/udnnews.pl
index 5e19ae88..07c49d4b 100644
--- a/util/udnnews.pl
+++ b/util/udnnews.pl
@@ -104,6 +104,7 @@ sub FormatChinese
sub postout
{
my($param) = @_;
+ return if( !$param->{title} );
open FH, ">/tmp/postout.$$";
print FH $param->{content};
close FH;