Skip to content

Commit

Permalink
Verify from_view when looking for duplicate in model method
Browse files Browse the repository at this point in the history
  • Loading branch information
Markus Törnqvist committed May 5, 2009
1 parent 7b083cd commit 0e1f2c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion standard/models.py
Expand Up @@ -217,7 +217,7 @@ def verify(self, item_check_callable=None):
if self.is_transaction():
if self.payment_status != "Completed":
self.set_flag("Invalid payment_status (%s). " % self.payment_status)
if duplicate_txn_id(self):
if duplicate_txn_id(self, self.from_view):
self.set_flag("Duplicate transaction ID (%s). " % self.txn_id)
if self.receiver_email != RECEIVER_EMAIL:
self.set_flag("Invalid receiver_email (%s). " % self.receiver_email)
Expand Down

0 comments on commit 0e1f2c0

Please sign in to comment.