Changeset 20245
- Timestamp:
- 2011/02/20 11:53:11 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_5-dev/data/class/pages/admin/mail/LC_Page_Admin_Mail_TemplateInput.php
r20211 r20245 95 95 if (SC_Utils_Ex::isBlank($this->arrErr)) { 96 96 // エラーが無いときは登録・編集 97 $this->lfRegistData( $objFormParam, $ _POST['template_id']);97 $this->lfRegistData( $objFormParam, $objFormParam->getValue('template_id')); 98 98 // 自分を再読込して、完了画面へ遷移 99 99 $this->objDisplay->reload(array("mode" => "complete")); 100 100 } else { 101 $this->arrForm['template_id'] = $ _POST['template_id'];101 $this->arrForm['template_id'] = $objFormParam->getValue('template_id'); 102 102 } 103 103 break; … … 137 137 if ( SC_Utils_Ex::sfIsInt($template_id) ){ 138 138 // 更新時 139 $objQuery->update("dtb_mailmaga_template", $sqlval, "template_id =".$template_id);139 $objQuery->update("dtb_mailmaga_template", $sqlval, "template_id = ?", array($template_id)); 140 140 } else { 141 141 // 新規登録時
Note: See TracChangeset
for help on using the changeset viewer.
