Ticket #2345 (closed バグ指摘: 修正済)

Opened 11 years ago

Last modified 10 years ago

SC_Product.phpによくわからないif文がある

Reported by: kimoto Owned by: pineray
Priority: Milestone: EC-CUBE2.13.3
Component: その他 Version: 2.12.5
Keywords: Cc:
修正済み: yes

Description

if (!in_array($classcat_id1, $classCats1)) {
    $classCats1[$classcategory_id1] = $arrProductsClass['classcategory_name1']
        . ($classcategory_id2 == 0 && !$stock_find_class ? ' (品切れ中)' : '');
}

$classcat_id1は未定義なので必ずtrueになるif文のようだが何の目的なのかが不明で削除できません

Change History

comment:1 Changed 11 years ago by h_yoshimoto

  • Milestone set to EC-CUBE 2.13.1

comment:2 Changed 10 years ago by m_uehara

  • Milestone changed from EC-CUBE 2.13.1 to EC-CUBE 2.13.2

comment:3 Changed 10 years ago by h_yoshimoto

  • Milestone changed from EC-CUBE2.13.2 to EC-CUBE2.13.3

comment:4 Changed 10 years ago by pineray

  • Owner changed from somebody to pineray
  • 修正済み set
  • Status changed from new to assigned

r23467 にて対応しました。

$classcategory_id1 の typo だと思われます。

comment:5 Changed 10 years ago by kim

  • Status changed from assigned to closed
  • Resolution set to 修正済

pineray 様

対応ありがとうございます。 クローズさせていただきます。

Note: See TracTickets for help on using tickets.