Added type checks for security update
Added type checks for security update

Line 60:

if !(user.id.is_a? Integer and params[:course_id].is_a? Integer)
      flash[:error] = "Illegal parameter."
arpitashekhar/expertiza,arpitashekhar/expertiza,KunmiaoYang/expertiza,urmilparikh95/expertiza,arpitashekhar/expertiza,urmilparikh95/expertiza,michaelamoran/expertiza,expertiza/expertiza,kira0992/expertiza,kira0992/expertiza,expertiza/expertiza,michaelamoran/expertiza,akshayjain114/expertiza,KunmiaoYang/expertiza,kira0992/expertiza,akshayjain114/expertiza,expertiza/expertiza,akshayjain114/expertiza,KunmiaoYang/expertiza,arpitashekhar/expertiza,urmilparikh95/expertiza,urmilparikh95/expertiza,KunmiaoYang/expertiza,kira0992/expertiza,michaelamoran/expertiza,expertiza/expertiza,akshayjain114/expertiza,michaelamoran/expertiza