3.4 - Bug and Fix- GroupCat Jumpline
in inc_groupjump_to.asp
Change from
set rsCat = nothing
set rsCat = my_conn.Execute (strSql)
do until rsCat.eof '## Grab the GROUPS.
if rsCat("GROUP_ID") = 1 OR rsCat("GROUP_ID") = 2 then
' do nothing
else
first = 0
if first = 0 then
Response.Write " <option value="""">----------------------------</option>" & vbNewLine
first = 1
end if
if lcase(Right(strPathInfo, 10)) = "active.asp" then
Response.Write " <option value=""active.asp?Group=" & rsCat("GROUP_ID") & """" & chkSelect(cLng(Group), cLng(rsCat("GROUP_ID"))) & ">" & rsCat("GROUP_NAME") & "</option>" & vbNewLine
else
Response.Write " <option value=""default.asp?Group=" & rsCat("GROUP_ID") & """" & chkSelect(cLng(Group), cLng(rsCat("GROUP_ID"))) & ">" & rsCat("GROUP_NAME") & "</option>" & vbNewLine
end if
end if
rsCat.MoveNext
loop
To
set rsCat = nothing
set rsCat = my_conn.Execute (strSql)
first = 0
do until rsCat.eof '## Grab the GROUPS.
if rsCat("GROUP_ID") = 1 OR rsCat("GROUP_ID") = 2 then
' do nothing
else
if first = 0 then
Response.Write " <option value="""">----------------------------</option>" & vbNewLine
first = 1
end if
if lcase(Right(strPathInfo, 10)) = "active.asp" then
Response.Write " <option value=""active.asp?Group=" & rsCat("GROUP_ID") & """" & chkSelect(cLng(Group), cLng(rsCat("GROUP_ID"))) & ">" & rsCat("GROUP_NAME") & "</option>" & vbNewLine
else
Response.Write " <option value=""default.asp?Group=" & rsCat("GROUP_ID") & """" & chkSelect(cLng(Group), cLng(rsCat("GROUP_ID"))) & ">" & rsCat("GROUP_NAME") & "</option>" & vbNewLine
end if
end if
rsCat.MoveNext
loop