Open yedpodtrzitko opened 5 years ago
fixes #7
when the review submitter adds himself in the review form manually, it will add him twice, which will end up with the error reported in #7 .
Checking for the user in POST data should mitigate it.
Enforcing uniqueness via DB constraint should prevent the cause rather than dealing with consequences.
fixes #7
when the review submitter adds himself in the review form manually, it will add him twice, which will end up with the error reported in #7 .
Checking for the user in POST data should mitigate it.
Enforcing uniqueness via DB constraint should prevent the cause rather than dealing with consequences.