Skip to content

Conversation

@marcusds
Copy link
Contributor

Instead of just checking the first code and failing if it doesn't work, check all codes until we find the first that works.

Instead of just checking the first code and failing if it doesn't work,
check all codes until we find the first that works.
@JustinSainton JustinSainton added this to the Future Release milestone May 10, 2014
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be spaced out a bit more:

$wpdb->prepare( 'SELECT * FROM ' . WPSC_TABLE_COUPON_CODES . ' WHERE coupon_code = %s', $code )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants