Changeset 22771


Ignore:
Timestamp:
2013/03/28 10:49:57 (8 years ago)
Author:
Seasoft
Message:

#2213 (バックアップ管理 プラグインのテーブルをバックアップできずエラーとなる)

Location:
branches/version-2_13-dev/data/class
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_13-dev/data/class/SC_Query.php

    r22567 r22771  
    774774    { 
    775775        if (strlen($where) <= 0) { 
    776             $sqlde = "DELETE FROM $table"; 
     776            $sqlde = 'DELETE FROM "' . $table . '"'; 
    777777        } else { 
    778             $sqlde = "DELETE FROM $table WHERE $where"; 
     778            $sqlde = 'DELETE FROM "' . $table . '" WHERE ' . $where; 
    779779        } 
    780780        $ret = $this->query($sqlde, $arrWhereVal, false, null, MDB2_PREPARE_MANIP); 
  • branches/version-2_13-dev/data/class/pages/admin/system/LC_Page_Admin_System_Bkup.php

    r22567 r22771  
    320320 
    321321            // 全データを取得 
    322             $sql = "SELECT * FROM $table"; 
     322            $sql = 'SELECT * FROM "' . $table . '"'; 
    323323 
    324324            $this->fpOutput =& $fp; 
Note: See TracChangeset for help on using the changeset viewer.