Changeset 15894


Ignore:
Timestamp:
2007/09/21 23:44:15 (15 years ago)
Author:
nanasess
Message:

未定義変数の修正

File:
1 edited

Legend:

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

    r15532 r15894  
    1414 * @package Page 
    1515 * @author LOCKON CO.,LTD. 
    16  * @version $Id$ 
     16 * @version $Id:LC_Page_Products_Detail.php 15532 2007-08-31 14:39:46Z nanasess $ 
    1717 */ 
    1818class LC_Page_Products_Detail extends LC_Page { 
     
    219219 
    220220        // 拡大画像のウィンドウサイズをセット 
    221         $image_path = IMAGE_SAVE_DIR . basename($this->arrFile["main_large_image"]["filepath"]); 
     221        if (isset($this->arrFile["main_large_image"])) { 
     222            $image_path = IMAGE_SAVE_DIR . basename($this->arrFile["main_large_image"]["filepath"]); 
     223        } else { 
     224            $image_path = ""; 
     225        } 
     226 
    222227        list($large_width, $large_height) = getimagesize($image_path); 
    223228        $this->tpl_large_width = $large_width + 60; 
Note: See TracChangeset for help on using the changeset viewer.