Ignore:
Timestamp:
2010/12/16 23:18:05 (14 years ago)
Author:
Seasoft
Message:

#855(SC_Query の #select, #getRow, #getCol, #get, #min, #max の引数順を統一する)

  • SC_Query#getCol を改訂
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_5-dev/data/class/pages/admin/products/LC_Page_Admin_Products_Product.php

    r19728 r19730  
    388388 
    389389        // カテゴリID を取得 
    390         $arrRet[0]['category_id'] = $objQuery->getCol("dtb_product_categories", 
    391                                                       "category_id", 
    392                                                       "product_id = ?", 
    393         array($product_id)); 
     390        $arrRet[0]['category_id'] = $objQuery->getCol( 
     391            "category_id", 
     392            "dtb_product_categories", 
     393            "product_id = ?", 
     394            array($product_id) 
     395        ); 
    394396        //編集時に規格IDが変わってしまうのを防ぐために規格が登録されていなければ規格IDを取得する 
    395397        if (!$objDb->sfHasProductClass($_POST['product_id'])) { 
Note: See TracChangeset for help on using the changeset viewer.