Changeset 13666 for branches/dev
- Timestamp:
- 2007/05/29 17:36:30 (19 years ago)
- File:
-
- 1 edited
-
branches/dev/html/admin/basis/mail.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/dev/html/admin/basis/mail.php
r13665 r13666 31 31 32 32 if ( $_GET['mode'] == 'edit' && sfCheckNumLength($_GET['template_id'])===true ){ 33 exit;34 33 35 if ( sfCheckNumLength( $_ POST['template_id']) ){34 if ( sfCheckNumLength( $_GET['template_id']) ){ 36 35 $sql = "SELECT * FROM dtb_mailtemplate WHERE template_id = ?"; 37 36 $result = $conn->getAll($sql, array($_POST['template_id']) ); … … 40 39 $objPage->arrForm = $result[0]; 41 40 } else { 42 $objPage->arrForm['template_id'] = $_ POST['template_id'];41 $objPage->arrForm['template_id'] = $_GET['template_id']; 43 42 } 44 43 } 45 44 46 } elseif ( $_ POST['mode'] == 'regist' && sfCheckNumLength( $_POST['template_id']) ){45 } elseif ( $_GET['mode'] == 'regist' && sfCheckNumLength( $_GET['template_id']) ){ 47 46 48 47 // POST¥Ç¡¼¥¿¤Î°ú¤·Ñ¤® 49 $objPage->arrForm = lfConvertParam($_ POST);48 $objPage->arrForm = lfConvertParam($_GET); 50 49 $objPage->arrErr = fnErrorCheck($objPage->arrForm); 51 50
Note: See TracChangeset
for help on using the changeset viewer.
