changeset 433:03ced2f9f271

Quote group name
author HIROSE Yuuji <yuuji@gentei.org>
date Fri, 23 Jun 2017 17:07:18 +0859
parents 99526bd0f2d1
children cf20459261cb
files s4-funcs.sh
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/s4-funcs.sh	Wed Jun 21 10:33:00 2017 +0859
+++ b/s4-funcs.sh	Fri Jun 23 17:07:18 2017 +0859
@@ -2268,7 +2268,7 @@
   if [ -z "$grp" ]; then
     echo "無効な指定です。" | html p; return
   fi
-  if ! ismember $user $grp; then
+  if ! ismember $user "$grp"; then
     echo "加入者のみに許可された操作です。" | html p; return
   fi
   echo "グループ $grp 個別選択操作" \

yatex.org