it is not a php problem, but a javascript one. I suppose that you guys are using tinyMCE as your editor. When you select "link to an article" you notice how the editor is disabled, right? Pretty cool!?? Anyway, I was just hiding the editor and replacing it with the form, but it seems that when we send the form, javascript kicks in place and just gets the info from the hidden form and not the one you typed in. Here comes the fix
Open media/com_hotspots/js/Hotspots.Add.Backend.js
and change lines 16 to 21 like this:
if(selected == 'sobi2' || selected == 'article' ) {
// tinyMCE.get('description').hide();
tinyMCE.execCommand('mceRemoveEditor',false, 'description')
} else {
tinyMCE.execCommand('mceAddEditor',false, 'description');
// tinyMCE.execCommand('mceToggleEditor',false,'description');
}
}
Let me know if this fixes the problem and I'll include the fix in hotspots 2.0.4