Ticket #836 (closed 改善提案: 修正済)

Opened 10 years ago

Last modified 10 years ago

LC_Page_Mypage_DeliveryAddr#lfRegistData 無駄な分岐を削除

Reported by: Seasoft Owned by: Seasoft
Priority: Milestone: EC-CUBE2.11.0
Component: フロント Version: 2.5-dev
Keywords: Cc:
修正済み:

Description

抜粋

        foreach ($arrRegistColumn as $data) {
            if (strlen($array[ $data["column"] ]) > 0) {
                $arrRegist[ $data["column"] ] = $array[ $data["column"] ];
            }
        }

必須チェックは別途行なっているので、文字長をチェックする必要はない。

カスタマイズで入力必須を解除した場合に、文字列削除が出来ない現象を引き起こす。その面では、設計誤りとも考えられる。

Change History

comment:1 Changed 10 years ago by Seasoft

  • Owner changed from somebody to Seasoft
  • Status changed from new to assigned
  • Summary changed from LC_Page_Mypage_DeliveryAddr#lfRegistData 無駄な分岐 to LC_Page_Mypage_DeliveryAddr#lfRegistData 無駄な分岐を削除

comment:2 Changed 10 years ago by Seasoft

r18857 で実装。

comment:3 Changed 10 years ago by Seasoft

  • Milestone changed from EC-CUBE2.5.0beta to EC-CUBE2.5.0

comment:4 Changed 10 years ago by Seasoft

  • Status changed from assigned to closed
  • Resolution set to 修正済
Note: See TracTickets for help on using tickets.