In get_codeless_discounts_for_product_and_quantity(...) function into uc_discounts.module the check for is_active field is missing.
Patch attached.

CommentFileSizeAuthor
uc_discounts.module.patch571 bytesmiguel_angel

Comments

miguel_angel’s picture

Status: Active » Needs review

wrong status, sorry.

davidburns’s picture

Status: Needs review » Fixed

how'd I miss this one. thanks for the patch. updated dev.

miguel_angel’s picture

Status: Fixed » Needs review

davexoxide, you've missed one line from my patch on last commit:

+ 		AND (d.is_active=%d)

So this new issue happens: #886492

;-)

davidburns’s picture

Status: Needs review » Fixed

thanks again miguel_angel

http://drupal.org/cvs?commit=411314

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.