s4

changeset 429:c3bf12c5dba6

Check replymark even if the author is the owner
author HIROSE Yuuji <yuuji@gentei.org>
date Sat, 06 May 2017 18:03:39 +0859
parents 2e32349c4dd6
children ce497c515996
files s4-blog.sh
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line diff
     1.1 --- a/s4-blog.sh	Sun Apr 30 07:15:41 2017 +0859
     1.2 +++ b/s4-blog.sh	Sat May 06 18:03:39 2017 +0859
     1.3 @@ -31,7 +31,8 @@
     1.4    # $1=blogid $2=ReplyingUser $3=WrittenText $4(optional)=Action
     1.5    blogid="${1%%[!A-Z0-9a-z_]*}"
     1.6    blogowner=`getvalbyid blog owner "$blogid"`
     1.7 -  [ x"$2" = x"$blogowner" ] && return # If author=blogowner, unnecessary
     1.8 +  ## 2017-0505 Need reply even if the author is owner for explicit reply
     1.9 +  ##[ x"$2" = x"$blogowner" ] && return # If author=blogowner, unnecessary
    1.10    blogtitle=`getvalbyid blog title "$blogid"`
    1.11    blogurl="$urlbase?replyblog+$blogid"
    1.12    action=${4:-書き込み}