notice 오류 해결중

This commit is contained in:
gnuboard
2013-01-09 18:12:31 +09:00
parent c439448eae
commit a618c65321
13 changed files with 45 additions and 82 deletions

View File

@ -6,17 +6,15 @@ check_demo();
auth_check($auth[$sub_menu], 'w');
check_token();
for ($i=0; $i<count($chk); $i++)
for ($i=0; $i<count($_POST['chk']); $i++)
{
// 실제 번호를 넘김
$k = $chk[$i];
$k = $_POST['chk'][$i];
$sql = " update {$g4['group_table']}
set gr_subject = '{$_POST['gr_subject'][$k]}',
gr_admin = '{$_POST['gr_admin'][$k]}',
gr_use_access = '{$_POST[gr_use_access][$k]}'
gr_use_access = '{$_POST['gr_use_access'][$k]}'
where gr_id = '{$_POST['gr_id'][$k]}' ";
if ($is_admin != 'super')
$sql .= " and gr_admin = '{$_POST['gr_admin'][$k]}' ";