全プロジェクト

タスク一覧

FS#82 - テンプレート コメントのヘッダー/本体/フッター で、テンプレート変数

割り当てられたプロジェクト:
オープン者 shizuki (shizuki) - Wednesday, 31 October 2007, 01:26 GMT+9
最終修正者 shizuki (shizuki) - Wednesday, 31 October 2007, 01:34 GMT+9
タスク種別 Bug Report
カテゴリ Backend / Core
状態 クローズ
担当者 shizuki (shizuki)
OS All
重大度
優先度 通常
報告バージョン 3.31rc2
対応予定バージョン 3.31sp1
対応予定日 未決定
進捗 100%
投票 0
非公開 いいえ

詳細

array で渡している変数を object として処理しようとしている為に、内容を取得できない
このタスクが依存しているタスク

クローズ者  shizuki (shizuki)
Wednesday, 31 October 2007, 01:44 GMT+9
クローズの理由:  Implemented
コメント記述者 shizuki (shizuki) - Wednesday, 31 October 2007, 01:44 GMT+9
ITEMACTIONS.php
line 208

function parse_title($format = \'\') {
if (is_array($this->currentItem)) {
$itemtitle = $this->currentItem[\'title\'];
} elseif (is_object($this->currentItem)) {
$itemtitle = $this->currentItem->title;
}
switch ($format) {
case \'xml\':
// echo stringToXML ($this->currentItem->title);
echo stringToXML ($itemtitle);
break;
case \'attribute\':
// echo stringToAttribute ($this->currentItem->title);
echo stringToAttribute ($itemtitle);
break;
case \'raw\':
// echo $this->currentItem->title;
echo $itemtitle;
break;
default:
// $this->highlightAndParse($this->currentItem->title);
$this->highlightAndParse($itemtitle);
break;
}
}

に変更

読み込み中...