changeset 227:ce24afbd3139

Team-removal control should obey $myhexteams.
author HIROSE Yuuji <yuuji@gentei.org>
date Mon, 20 Jun 2016 08:01:23 +0859
parents 0381b7abe4a3
children ab1693ac909a
files s4-funcs.sh
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/s4-funcs.sh	Mon Jun 20 00:12:56 2016 +0859
+++ b/s4-funcs.sh	Mon Jun 20 08:01:23 2016 +0859
@@ -1993,7 +1993,7 @@
   # Get team list to which current user belongs into $hexteams
   myhexteams=$(hexteams "$grp" "$user")
   allhexteams=$(hexteams "$grp")
-  if [ -n "$hexteams" ]; then
+  if [ -n "$myhexteams" ]; then
     rmteam="<div class=\"fold\">
 `cgi_radio rm rmteam 'id=\"cmrmteam\"'`<label
 for=\"cmrmteam\">下でチェックした人からチーム属性を除去する</label>

yatex.org