Changeset 17669 for branches/version-2
- Timestamp:
- 2008/10/29 17:31:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2/data/class/pages/inquiry/LC_Page_Inquiry.php
r17051 r17669 88 88 89 89 if ( ( ! $_POST['mode'] == 'confirm' ) && ( ! is_numeric($_REQUEST['question_id']) ) ){ 90 echo "不正アクセス"; 91 exit; 90 SC_Utils_Ex::sfDispSiteError(PAGE_ERROR); 92 91 } 93 92 … … 95 94 $sql = "SELECT question_id, question FROM dtb_question WHERE question_id = ?"; 96 95 $result = $conn->getAll( $sql, array($_REQUEST['question_id']) ); 96 if ( count($result) <= 0 ){ 97 SC_Utils_Ex::sfDispSiteError(PAGE_ERROR); 98 } 97 99 $this->QUESTION = $this->lfGetArrInput( unserialize( $result[0]['question'] ) ); 98 100
Note: See TracChangeset
for help on using the changeset viewer.