MDL-15252 Fixed regression: XMLDB action using optionally defined strings
MDL-15252 Fixed regression: XMLDB action using optionally defined strings

To prevent debugging warning, we check if the string is defined first.
In this case it does not make sense to add new string for every action
as the title is not actually displayed anywhere.

dilawar/moodle