Ignore:
Timestamp:
2012/02/15 19:56:17 (12 years ago)
Author:
Seasoft
Message:

#1625 (typo修正・ソース整形・ソースコメントの改善)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_12-dev/data/class/pages/admin/basis/LC_Page_Admin_Basis_Mail.php

    r21481 r21514  
    9797                if ($this->arrErr) { 
    9898                    // エラーメッセージ 
    99                     $this->tpl_msg = "エラーが発生しました"; 
     99                    $this->tpl_msg = 'エラーが発生しました'; 
    100100 
    101101                } else { 
     
    125125        $objQuery =& SC_Query_Ex::getSingletonInstance(); 
    126126 
    127         $sql = "SELECT * FROM dtb_mailtemplate WHERE template_id = ?"; 
     127        $sql = 'SELECT * FROM dtb_mailtemplate WHERE template_id = ?'; 
    128128        return $objQuery->getAll($sql, array($template_id)); 
    129129    } 
     
    135135        $post['update_date'] = 'CURRENT_TIMESTAMP'; 
    136136 
    137         $sql = "SELECT * FROM dtb_mailtemplate WHERE template_id = ?"; 
     137        $sql = 'SELECT * FROM dtb_mailtemplate WHERE template_id = ?'; 
    138138        $template_data = $objQuery->getAll($sql, array($post['template_id'])); 
    139139        if ($template_data) { 
    140             $sql_where = "template_id = ?"; 
     140            $sql_where = 'template_id = ?'; 
    141141            $objQuery->update('dtb_mailtemplate', $post, $sql_where, array(addslashes($post['template_id']))); 
    142142        } else { 
Note: See TracChangeset for help on using the changeset viewer.