Fixed bug:Error to assign server plugins using templates. Ticket #1161

pandora_console/godmode/agentes/agent_template.php