Avoid duplicating entries in database table because of storing only filename and checking for entire path #8

merged 1 commit into from Mar 31, 2012

2 participants


If you upload an image a second time, the row in the database is duplicated because the stored filename is


while when checking if the record already exists it checks for the full path


@krolow krolow merged commit a32f81d into krolow:master Mar 31, 2012

hey, thank you for your patch correction. it will be also applied in the new version 1.0. thanks ;)


You are welcome! Thank you for your work on this plugin ;)

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