Delete an 'in use' template should be blocked
If a template (master one in this example) is assigned to a client (or reseller) should be not possible to delete it. In my test i deleted succesfully a template which was in use by a client; then i tried to edit the client limits and i got an error "Warning: Invalid argument supplied for foreach() in /usr/local/ispconfig/interface/web/client/tools.inc.php on line 79". Any way.. the previous limits are kept correctly so i think it's not a 'big problem' ..but a little check if a template is 'in use' should avoid this issue.
Bye..
bajodel.