待辦事項 #3924

グループ管理画面でUndefined variable userids
啟用日期: 2004-02-12 11:24 最後更新: 2004-03-12 04:34

回報者:
負責人:
(無)
類型:
狀態:
關閉
元件:
(無)
里程碑:
(無)
優先權:
3
嚴重程度:
5 - 中
處理結果:
修正
檔案:

細節

グループ管理画面で、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
  • 優先權 Update from 5 - 中 to 3
  • (群組 change on Tracker)
  • (類別 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
  • 處理結果 Update from to 修正
  • 狀態 Update from 開啟 to 關閉
評語
Logged In: YES
user_id=754

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

Attachment File List

No attachments

編輯

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