Details
Description
When going to install a plugin, it's possible to click the Install button multiple times (very quickly), thus sending multiple requests to Blesta to install the plugin. The first request will create it, however, the subsequent requests will fail due to an SQL error regarding a duplicate key, showing a stack trace page.
We should only attempt to add a plugin if one does not exist for the company.