Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error on creating duplicate category decayimage entries #6

Open
evoltech opened this issue Feb 16, 2012 · 0 comments
Open

error on creating duplicate category decayimage entries #6

evoltech opened this issue Feb 16, 2012 · 0 comments

Comments

@evoltech
Copy link
Member

The code should prevent the user from making this error because it will generate a database error. The correct logic should be to check to see if there is already a row in the decayimage table that corresponds to the passed in category_id, if there is and the operation is add then the operation should be changed to edit.

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

No branches or pull requests

1 participant