Ignore:
Timestamp:
2011/01/19 16:25:22 (13 years ago)
Author:
kotani
Message:

#564 MDB2化による各種問題の改善

  • 管理画面>受注管理>新規受注登録 の「顧客検索ポップアップ」で、検索項目を入力するとエラーになる不具合改修
File:
1 edited

Legend:

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

    r19912 r19976  
    3030 * @package Page 
    3131 * @author LOCKON CO.,LTD. 
    32  * @version $Id$ 
     32 * @version $Id: $ 
    3333 */ 
    3434class LC_Page_Admin_Customer_SearchCustomer extends LC_Page_Admin { 
     
    8585            $this->arrErr = $this->lfCheckError(); 
    8686            $is_select = empty($this->arrErr); 
     87 
     88            $sqlval = array(); 
     89            $where = ""; 
     90             
    8791            if ($is_select) { 
    8892                $where = "del_flg = 0"; 
     
    9599                            case 'customer_id': 
    96100                                $where .= " AND customer_id = ? "; 
    97                                 $sqlval[$key] = $val; 
     101                                $sqlval[] = $val; 
    98102                                break; 
    99103                            case 'name01': 
    100104                                    $where .= " AND name01 ILIKE ? "; 
    101                                     $sqlval[$key] = '%'.$val.'%'; 
     105                                    $sqlval[] = '%'.$val.'%'; 
    102106                                break; 
    103107                            case 'name02': 
    104108                                    $where .= " AND name02 ILIKE ? "; 
    105                                     $sqlval[$key] = '%'.$val.'%'; 
     109                                    $sqlval[] = '%'.$val.'%'; 
    106110                                break; 
    107111                            case 'kana01': 
    108112                                    $where .= " AND kana01 ILIKE ? "; 
    109                                     $sqlval[$key] = '%'.$val.'%'; 
     113                                    $sqlval[] = '%'.$val.'%'; 
    110114                                break; 
    111115                            case 'kana02': 
    112116                                    $where .= " AND kana02 ILIKE ? "; 
    113                                     $sqlval[$key] = '%'.$val.'%'; 
     117                                    $sqlval[] = '%'.$val.'%'; 
    114118                                break; 
    115119                            default : 
Note: See TracChangeset for help on using the changeset viewer.