待辦事項 #10325

Block EditForm typo
啟用日期: 2007-04-24 17:26 最後更新: 2007-04-25 16:34

回報者:
負責人:
狀態:
關閉
元件:
(無)
里程碑:
(無)
優先權:
1 - 最低
嚴重程度:
5 - 中
處理結果:
Rejected
檔案:

細節

modules/legacy/admin/forms/BlockEditForm.class.php

line 38

Before:
$this->mFieldProperties['title']->addMessage
('required', _MD_LEGACY_ERROR_REQUIRED,
_AD_LEGACY_LANG_TITLE, '255');

After:
$this->mFieldProperties['title']->addMessage
('required', _MD_LEGACY_ERROR_REQUIRED,
_AD_LEGACY_LANG_TITLE);

number of letters is unnecessary in necessary item

最大文字数をコピーした名残?
必須項目に文字数は不要では。

Ticket History (2/2 Histories)

2007-04-25 15:35 Updated by: minahito
  • 負責人 Update from (無) to minahito
  • 優先權 Update from 5 - 中 to 1 - 最低
  • (群組 change on Tracker)
  • 處理結果 Update from to Rejected
評語
Logged In: YES
user_id=8353

This is just TYPO. But, "automan" cubson sets all variables
always, because he don't parse what the first parameter has.
So I think developers don't need to notice such code.

[JA]
確かにTYPOなんですが、自動生成器である cubson は常にすべての
変数をセットしようとします…これは cubson からしてみれば第一
パラメータの中身の確認のしようがないからです。開発者はこの手
のコードに注意する必要はないと思ってます。
[/JA]
2007-04-25 16:34 Updated by: minahito
  • Ticket Close date is changed to 2007-04-25 16:34
  • 狀態 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. » 登入