Changeset 16698


Ignore:
Timestamp:
2007/11/05 20:02:16 (15 years ago)
Author:
adachi
Message:

未定義関数の修正

Location:
branches/beta/html/admin/products
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/beta/html/admin/products/index.php

    r16694 r16698  
    247247            $arrOutputTitle = $arrOutput['disp_name']; 
    248248 
    249             $head = sfGetMovilinkCSVList($arrOutputTitle); 
    250  
    251             $data = sfGetMovilinkCSV($where, $option, $arrval, $arrOutputCols); 
     249            $head = function_exists('sfGetMovilinkCSVList') ? sfGetMovilinkCSVList($arrOutputTitle) : ''; 
     250 
     251            $data = function_exists('sfGetMovilinkCSV') 
     252                ? sfGetMovilinkCSV($where, $option, $arrval, $arrOutputCols) 
     253                : ''; 
    252254 
    253255            // CSV¤òÁ÷¿®¤¹¤ë¡£ 
  • branches/beta/html/admin/products/product.php

    r16697 r16698  
    366366 
    367367    // ¥â¥Ó¥ê¥ó¥¯¤¬Í­¸ú¤Ê¾ì¹ç 
    368     if(sfIsMoviLink()) { 
     368    if(function_exists('sfIsMoviLink') && sfIsMoviLink()) { 
    369369        $sqlval['movilink_net_percent'] = $arrList['movilink_net_percent']; 
    370370        $sqlval['movilink_net_fix'] = $arrList['movilink_net_fix']; 
Note: See TracChangeset for help on using the changeset viewer.