Ticket #3924

グループ管理画面でUndefined variable userids
오픈 날짜: 2004-02-12 11:24 마지막 업데이트: 2004-03-12 04:34

Reporter:
소유자:
(None)
Type:
Status:
Closed
Component:
(None)
MileStone:
(None)
Priority:
3
Severity:
5 - Medium
Resolution:
Fixed
File:
None

Details

グループ管理画面で、PHPデバグONのとき
Notice [PHP]: Undefined variable: userids in file
modules/system/admin/groups/groups.php line 137
のメッセージが出るが 特に問題のなる症状はない

原因
modules/system/admin/groups/groups.php
line 137
$size = sizeof($userids);

対応
この行は、$useridsも $size も使用されていないので
いみの無い行だと思います。コメントするか行削除してもいいで
しょうか?

Ticket History (2/2 Histories)

2004-02-12 11:29 Updated by: toshimitsu
  • Priority Update from 5 - Medium to 3
  • (Group change on Tracker)
  • (Category change on Tracker)
댓글 올리기
Logged In: YES
user_id=6033

xoops2.0.3 ~ xoops2.0.6 
2004-03-12 04:34 Updated by: onokazu
  • Ticket Close date is changed to 2004-03-12 04:34
  • Resolution Update from None to Fixed
  • Status Update from Open to Closed
댓글 올리기
Logged In: YES
user_id=754

おそらくforeachに変更する前の時のコードが残っていたのだと思
います。ありがとうございました

Attachment File List

No attachments

Edit

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » Login