Ignore:
Timestamp:
2012/01/06 19:54:03 (12 years ago)
Author:
kotani
Message:

Merge from version-2_11-dev

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_12-dev/data/class/helper/SC_Helper_Purchase.php

    r21303 r21390  
    833833        $arrValues = $objQuery->extractOnlyColsOf($table, $arrParams); 
    834834 
    835         $exists = $objQuery->count($table, $where, array($order_id)); 
    836         if ($exists > 0) { 
     835        $exists = $objQuery->exists($table, $where, array($order_id)); 
     836        if ($exists) { 
    837837 
    838838            $this->sfUpdateOrderStatus($order_id, $arrValues['status'], 
Note: See TracChangeset for help on using the changeset viewer.