Fixed issue #8510: Survey import/copy not working
Dev This seems to be a PHP bug as I could find no logical reason that it crashes out with duplicate database entries.  For some reason the foreach loop gets messed up and the pointer is reset in the midst of the foreach - caused by the database insert. Makes no sense at all and does not seem to happen on newer/older PHP versions.