Events disappear when clicked

Hi I added the below custom event code and now when I click the event in week view all events go away. I am not sure what to do any help is appreciated, Thanks!

scheduler.templates.event_header = function(start,end,ev){
var addInstructors = “”;

			var sNewHeader = scheduler.templates.event_date(start)+" - "+	scheduler.templates.event_date(end);
			var Inst_serverlist = scheduler.serverList("event_instructor_link");

			for(i in Inst_serverlist) {
				addInstructors = "";

				if (ev.id = Inst_serverlist[i].key){
					if (addInstructors){
						addInstructors += " - "+Inst_serverlist[i].initials
					}else{
						addInstructors += Inst_serverlist[i].initials
					}
				};
			}; // end of for loop
			sNewHeader += " - "+addInstructors;
			return sNewHeader;
		};

Sorry, my code was flawed,

this
if (ev.id = Inst_serverlist[i].key){
should be this
if (ev.id == Inst_serverlist[i].key){

and this should be outside if
addInstructors = “”;

Thanks for viewing lol

Gald to know that the issue is solved.
Regards