Home › Forums › JavaScript › error Shop Open and Close Times script › Re: error Shop Open and Close Times script
September 28, 2010 at 3:22 am
#78970
Bob
Member
Try removing the space from line 6, almost all the way at the end of the line.
Line 6 is now:
if (t_hour == 8 && t_min >= 30 && t_day > 0 && t_day < = 5)
whereas it should, I think, be:
if (t_hour == 8 && t_min >= 30 && t_day > 0 && t_day <= 5)
Edit: you have the same thing on line 10. Don't know for sure this causes the problem though.
I removed the space from between the < and the =