Changeset 14029 for branches


Ignore:
Timestamp:
2007/06/01 10:36:45 (19 years ago)
Author:
nakanishi
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/dev/html/admin/basis/preview.php

    r14027 r14029  
    2929        $sql = "SELECT * FROM dtb_mailtemplate WHERE template_id = ? AND del_flg = 0"; 
    3030        $id = $_GET['id']; 
    31         $result = $conn->getAll($sql, array($id)); 
    32         print_r($result);    
    33         //print_r($result);exit;    
     31        $result = $conn->getAll($sql, array($id));    
    3432        if ( $result ){ 
    3533                if ( $result[0]["mail_method"] == 2 ){ 
     
    3735                    $objPage->escape_flag = 1; 
    3836                } 
    39 //            $result[0] = nl2br($result[0]); 
     37            $result[0] = nl2br($result[0]); 
    4038            $objPage->list_data = $result[0];     
    4139        } 
Note: See TracChangeset for help on using the changeset viewer.