March-hare/decayimage — Issue #6: error on creating duplicate category decayimage entries
Author: evoltech
Created: 2012-02-16 19:30:31+00:00
State: open

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.