Changeset 13105

Show
Ignore:
Timestamp:
10/25/07 15:49:34 (1 year ago)
Author:
bergie
Message:

Check if we have different productGroup from post, fixes #160

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/midcom/org.openpsa.products/handler/product/create.php

    r12687 r13105  
    113113    { 
    114114        $this->_product = new org_openpsa_products_product_dba(); 
     115         
     116        if (isset($_POST['productGroup'])) 
     117        { 
     118            $this->_request_data['up'] = (int) $_POST['productGroup']; 
     119        } 
    115120        $this->_product->productGroup = $this->_request_data['up']; 
    116  
     121         
    117122        if (! $this->_product->create()) 
    118123        {