joomla/joomla-cms — pull request #4721 by joomdonation (2014-10-17 04:50:04+00:00)
Title: Fix issue #4702

This PR fix the issue #4702 reported by @dkanchev. Please see https://github.com/joomla/joomla-cms/issues/4702 to understand the actual issue (he explained it very well).

## How to test

1. Apply this PR .

2. Go to Extensions -> Module Manager, try to duplicate a module several times.

3. Makes sure the title of the module is generated properly as explained in the Expected result of issue report (at the moment, the title of the duplicated module is always appended by (2) and it causes the confusing when you duplicate the same module several times)

> My opinion is that every duplicated module should have a new unique name and not the same name as another module. This helps people to differentiate the modules - users do not care about unique IDs - they use module names.