Changeset 16955 for branches


Ignore:
Timestamp:
2007/12/28 13:02:53 (15 years ago)
Author:
satou
Message:

#217【管理画面→商品管理】複製時に画像をコピーしないバグを修正

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/feature-module-update/data/class/pages/admin/products/LC_Page_Admin_Products_Product.php

    r16920 r16955  
    170170            $this->tpl_mainpage = 'products/complete.tpl'; 
    171171 
    172             $this->tpl_product_id = $this->lfRegistProduct($_POST);     // データ登録 
     172            $this->arrFrom['product_id'] = $this->lfRegistProduct($_POST);      // データ登録 
    173173 
    174174            // 件数カウントバッチ実行 
     
    688688            if($forced) $this->objUpFile->save_file[$arrImageKey[$to_key]] = ""; 
    689689 
    690             if((isset($this->objUpFile->temp_file[$arrImageKey[$to_key]]) 
    691                    && $this->objUpFile->temp_file[$arrImageKey[$to_key]] == "" 
    692                 and isset($this->objUpFile->save_file[$arrImageKey[$to_key]]) 
    693                        && $this->objUpFile->save_file[$arrImageKey[$to_key]] == "")) { 
     690            if(empty($this->objUpFile->temp_file[$arrImageKey[$to_key]]) &&  
     691               empty($this->objUpFile->save_file[$arrImageKey[$to_key]])) { 
    694692 
    695693                $path = $this->objUpFile->makeThumb($from_path, $to_w, $to_h); 
Note: See TracChangeset for help on using the changeset viewer.