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 wrap: on
line diff
--- a/s4-blog.sh	Sun May 31 07:23:07 2020 +0900
+++ b/s4-blog.sh	Sun May 31 09:03:27 2020 +0900
@@ -277,7 +277,7 @@
 		      OR
 		      author='$user')
 		EOF
-	if isgrpowner "$user" "$blogowner"; then
+	if $isgrpadmin; then # 
 	  : > $quizmodefile
 	fi
       else		# if user-blog

yatex.org