s4

changeset 720:f92df08e64ef

Use previously set variable instead of calling function
author HIROSE Yuuji <yuuji@gentei.org>
date Sun, 31 May 2020 09:03:27 +0900
parents 093be7d30a6e
children fce9d5977822
files s4-blog.sh
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line diff
     1.1 --- a/s4-blog.sh	Sun May 31 07:23:07 2020 +0900
     1.2 +++ b/s4-blog.sh	Sun May 31 09:03:27 2020 +0900
     1.3 @@ -277,7 +277,7 @@
     1.4  		      OR
     1.5  		      author='$user')
     1.6  		EOF
     1.7 -	if isgrpowner "$user" "$blogowner"; then
     1.8 +	if $isgrpadmin; then # 
     1.9  	  : > $quizmodefile
    1.10  	fi
    1.11        else		# if user-blog