I've got the following error on forum.asp
Microsoft VBScript runtime error '800a000d'
Type mismatch: 'IsPoll'
/forum2/forum.asp, line 495
This is the bunch of code around line 495:
Topic_MName = arrTopicData(tM_NAME, iTopic)
Topic_LastPostAuthorName = arrTopicData(tLAST_POST_AUTHOR_NAME, iTopic)
'################ Poll Mod ################
IsPoll = arrTopicData(tIS_POLL, iTopic)
if IsPoll = 1 then
pollLink = "poll=1&"
else
pollLink = ""
end if
'##########################################
if AdminAllowed = 1 and Topic_UReplies > 0 then
Topic_Replies = Topic_Replies + Topic_UReplies
end if
Can't seem to find the error. Here is a text version of my forum.asp.www.global-e.com.au/forum.txt
Please help!!!