summaryrefslogtreecommitdiffstats
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
commit6738e3c8ddba7bd55901693bc3003ce8860650ae (patch)
treea0688aecc429d669de13b4a5555266b77574950e
parent49b617ff793a5118f9efaf0bf325cb3462b0c05b (diff)
downloadpttbbs-6738e3c8ddba7bd55901693bc3003ce8860650ae.tar
pttbbs-6738e3c8ddba7bd55901693bc3003ce8860650ae.tar.gz
pttbbs-6738e3c8ddba7bd55901693bc3003ce8860650ae.tar.bz2
pttbbs-6738e3c8ddba7bd55901693bc3003ce8860650ae.tar.lz
pttbbs-6738e3c8ddba7bd55901693bc3003ce8860650ae.tar.xz
pttbbs-6738e3c8ddba7bd55901693bc3003ce8860650ae.tar.zst
pttbbs-6738e3c8ddba7bd55901693bc3003ce8860650ae.zip
skip null data
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk@631 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--pttbbs/util/udnnews.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/pttbbs/util/udnnews.pl b/pttbbs/util/udnnews.pl
index 5e19ae88..07c49d4b 100644
--- a/pttbbs/util/udnnews.pl
+++ b/pttbbs/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;