Ignore:
Timestamp:
2010/02/08 11:54:06 (14 years ago)
Author:
kajiwara
Message:

POST値の格納方法を修正。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_4/data/class/pages/admin/contents/LC_Page_Admin_Contents.php

    r17204 r18555  
    8181 
    8282            if ($this->arrErr = $this->lfErrorCheck()) {       // 入力エラーのチェック 
    83                 foreach($_POST as $key => $val) { 
    84                     $this->$key = $val; 
     83                $arrParams = array("news_url", "news_title", "news_comment", "link_method"); 
     84 
     85                foreach($arrParams as $key) { 
     86                    $this->$key = $_POST[$key]; 
    8587                } 
    8688                $this->selected_year = $_POST["year"]; 
Note: See TracChangeset for help on using the changeset viewer.