待辦事項 #6385

XoopsFormElement::setExtraメソッドのreplace
啟用日期: 2005-07-21 11:52 最後更新: 2005-08-20 10:21

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

細節

XoopsFormElement::setExtraですが、$replaceをtrueにした場合、“ ”が
無い為に、フォームの他のattributeとくっついてしまいます。

function setExtra($extra, $replace = false){
if ( $replace) {
$this->_extra = trim($extra);


function setExtra($extra, $replace = false){
if ( $replace) {
$this->_extra = " " . trim($extra);

にすれば良いかと。

Ticket History (2/2 Histories)

2005-08-20 10:17 Updated by: (del#8225)
  • 負責人 Update from (無) to nobunobu
  • 處理結果 Update from to 修正
評語
Logged In: YES
user_id=8225

ありがとうございます。CVSにて修正いたしました。
2005-08-20 10:21 Updated by: (del#8225)
  • Ticket Close date is changed to 2005-08-20 10:21
  • 狀態 Update from 開啟 to 關閉

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. » 登入