Changeset 21441 for branches/version-2_12-dev/data/class/pages/admin/products/LC_Page_Admin_Products_ProductClass.php
- Timestamp:
- 2012/02/06 11:05:15 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_12-dev/data/class/pages/admin/products/LC_Page_Admin_Products_ProductClass.php
r21319 r21441 383 383 * ダウンロード商品の必須チェック 384 384 */ 385 if ($arrValues['product_type_id'][$i] == PRODUCT_TYPE_DOWNLOAD) {385 if ($arrValues['product_type_id'][$i] == PRODUCT_TYPE_DOWNLOAD) { 386 386 if (SC_Utils_Ex::isBlank($arrValues['down_filename'][$i])) { 387 387 $arrErr['down_filename'][$i] = "※ ダウンロード商品の場合はダウンロードファイル名を入力してください。<br />"; … … 464 464 // 規格2が選択されていない場合、規格2名称初期化 465 465 $class_id2 = $objFormParam->getValue('class_id2'); 466 if (SC_Utils_Ex::isBlank($class_id2) == true) {466 if (SC_Utils_Ex::isBlank($class_id2) == true) { 467 467 $objFormParam->setValue('classcategory_name2', ''); 468 468 } … … 627 627 // チェック拡張子のピリオドの数を取得('tar.gz'の場合1個、'jpg'のように通常は0個) 628 628 $count_period = substr_count($checkExt, "."); 629 if ($count_period > 0) {629 if ($count_period > 0) { 630 630 for ($i = max(array_keys($array_ext)) - $count_period; $i < count($array_ext); $i++) { 631 631 $ext .= $array_ext[$i] . "."; … … 640 640 $is_error = false; 641 641 } 642 if ($strExt == "") {642 if ($strExt == "") { 643 643 $strExt .= $checkExt; 644 644 } else { … … 713 713 $table = ''; 714 714 $arrParams = array(); 715 if (SC_Utils_Ex::isBlank($class_id2)) {715 if (SC_Utils_Ex::isBlank($class_id2)) { 716 716 $table = "dtb_classcategory T1 "; 717 717 $objQuery->setWhere("T1.class_id = ?"); … … 760 760 $results = array(); 761 761 if (!SC_Utils_Ex::isBlank($arrClass)) { 762 foreach ($arrClass as $key => $val) {763 if ($arrClassCatCount[$key] > 0) {762 foreach ($arrClass as $key => $val) { 763 if ($arrClassCatCount[$key] > 0) { 764 764 $results[$key] = $arrClass[$key]; 765 765 }
Note: See TracChangeset
for help on using the changeset viewer.