diff options
author | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-06-02 22:59:09 +0800 |
---|---|---|
committer | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-06-02 22:59:09 +0800 |
commit | 0fc9a057b35deed1e4f31cbcbe2758f7863b1d33 (patch) | |
tree | 2fce1b9d0d23a4112e859e580b9cc0b8b9db7e6b | |
parent | 3017c72191d1e4a3ca13a47134b3b0ec9f1d7f07 (diff) | |
download | pttbbs-0fc9a057b35deed1e4f31cbcbe2758f7863b1d33.tar pttbbs-0fc9a057b35deed1e4f31cbcbe2758f7863b1d33.tar.gz pttbbs-0fc9a057b35deed1e4f31cbcbe2758f7863b1d33.tar.bz2 pttbbs-0fc9a057b35deed1e4f31cbcbe2758f7863b1d33.tar.lz pttbbs-0fc9a057b35deed1e4f31cbcbe2758f7863b1d33.tar.xz pttbbs-0fc9a057b35deed1e4f31cbcbe2758f7863b1d33.tar.zst pttbbs-0fc9a057b35deed1e4f31cbcbe2758f7863b1d33.zip |
fix bug
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@924 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rwxr-xr-x | blog/blog.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/blog/blog.pl b/blog/blog.pl index ab8b4aa9..5e4f411d 100755 --- a/blog/blog.pl +++ b/blog/blog.pl @@ -1,5 +1,5 @@ #!/usr/bin/perl -# $Id: blog.pl,v 1.15 2003/06/02 05:34:57 in2 Exp $ +# $Id: blog.pl,v 1.16 2003/06/02 14:59:09 in2 Exp $ use CGI qw/:standard/; use lib qw/./; use LocalVars; @@ -64,7 +64,7 @@ sub main my($ptr, $i); for( $ptr = $article{last}, $i = 0 ; $ptr && $i < $1 ; - $ptr = $article{"$ptr.prev"} ){ + $ptr = $article{"$ptr.prev"}, ++$i ){ AddArticle('blog', $attr{"$fn.loadBlogFields"}, $ptr); } |