Advertisement
riking

Untitled

Jun 8th, 2015
539
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.25 KB | None | 0 0
  1. “Read the code, didn’t see anything odd.
  2.  
  3. if (isCodeValid(promo_code) || !isCodeValid(promo_code))
  4. {
  5.     addPromoToCart();
  6.     displayPromoError();
  7. }
  8. else
  9. {
  10.     addPromoToCart();
  11.     displayPromoError();
  12. }
  13.  
  14. Someone needs a new pair of glasses.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement