ten24/Slatwall — pull request #798 by tony-garcia (2012-08-13 05:10:08+00:00)
Title: Fixed spelling of 'eligible'

This isn't just a spelling error. Notice that in the relationship management methods in PriceGroup.cfc you're calling promotionReward.addEligablePriceGroup() and promotionReward.removeEligablePriceGroup() (where you use the mispelled word in the function name), while in PromotionReward.cfc those methods don't exist because you have addEligiblePriceGroup() and removeEligiblePriceGroup() (where the word was spelled correctly). This could lead to domain integrity bugs between PriceGroup and PromotionReward entities. Note that this patch should also include a SQL script to rename the linking table:

ALTER TABLE SlatwallPromotionRewardEligablePriceGroup
RENAME TO SlatwallPromotionRewardEligiblePriceGroup