Changeset 21852 for branches/version-2_12-dev/data/class/pages/admin/order/LC_Page_Admin_Order_Mail.php
- Timestamp:
- 2012/05/23 22:28:02 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_12-dev/data/class/pages/admin/order/LC_Page_Admin_Order_Mail.php
r21820 r21852 71 71 */ 72 72 function action() { 73 73 $post = $_POST; 74 74 //一括送信用の処理 75 if (array_key_exists('mail_order_id',$ _POST) and $_POST['mode'] == 'mail_select'){76 $ _POST['order_id_array'] = implode(',',$_POST['mail_order_id']);77 } else if(!array_key_exists('order_id_array',$ _POST)){78 $ _POST['order_id_array'] = $_POST['order_id'];75 if (array_key_exists('mail_order_id',$post) and $post['mode'] == 'mail_select'){ 76 $post['order_id_array'] = implode(',',$post['mail_order_id']); 77 } else if(!array_key_exists('order_id_array',$post)){ 78 $post['order_id_array'] = $post['order_id']; 79 79 } 80 80 81 81 //一括送信処理変数チェック(ここですべきかは課題) 82 if (preg_match("/^[0-9|\,]*$/",$ _POST['order_id_array'])){83 $this->order_id_array = $ _POST['order_id_array'];82 if (preg_match("/^[0-9|\,]*$/",$post['order_id_array'])){ 83 $this->order_id_array = $post['order_id_array']; 84 84 } else { 85 85 //エラーで元に戻す … … 87 87 SC_Response_Ex::actionExit(); 88 88 } 89 89 90 90 //メール本文の確認例は初めの1受注とする 91 if ( $this->order_id_array){91 if (!SC_Utils_Ex::isBlank($this->order_id_array)){ 92 92 $order_id_array = split(',',$this->order_id_array); 93 $ _POST['order_id'] = intval($order_id_array[0]);93 $post['order_id'] = intval($order_id_array[0]); 94 94 $this->order_id_count = count($order_id_array); 95 95 } … … 101 101 102 102 // POST値の取得 103 $objFormParam->setParam($ _POST);103 $objFormParam->setParam($post); 104 104 $objFormParam->convParam(); 105 105 $this->tpl_order_id = $objFormParam->getValue('order_id');
Note: See TracChangeset
for help on using the changeset viewer.