Changeset 11658

Show
Ignore:
Timestamp:
08/22/07 13:05:39 (1 year ago)
Author:
xfade
Message:

Check for productGroup, fixes Ticket #103

Files:

Legend:

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

    r4865 r11658  
    7676        { 
    7777            $qb->add_constraint('id', '<>', $this->id); 
     78            // Make sure the product is in the same product group 
     79            $qb->add_constraint('productGroup', '=', $this->productGroup); 
    7880        } 
    7981        $result = $qb->execute_unchecked();