 					<cfquery name="d" datasource="user_login" username="#session.dbuser#" password="#decrypt(session.epw,session.sessionKey)#">
 						delete from cttaxon_term where cttaxon_term_id=#thisROWID#
 					</cfquery>
-
-
-											delete from cttaxon_term where cttaxon_term_id=#thisROWID#
-
 				<cfelse>
 					<cfquery name="u" datasource="user_login" username="#session.dbuser#" password="#decrypt(session.epw,session.sessionKey)#">
 						update cttaxon_term set taxon_term='#thisVAL#',description='#thisDEF#' where cttaxon_term_id=#thisROWID#
 					</cfquery>
-
-											update cttaxon_term set taxon_term='#thisVAL#',description='#thisDEF#' where cttaxon_term_id=#thisROWID#
-
 				</cfif>
 			</cfif>
-			<!----
-
-						<cflocation url="CodeTableEditor.cfm?action=edit&tbl=cttaxon_term" addtoken="false">
-
-			---->
+			<cflocation url="CodeTableEditor.cfm?action=edit&tbl=cttaxon_term" addtoken="false">
 		</cfloop>
 	</cftransaction>
 	</cfoutput>

</cfif>
<!---------------------------------------------------------------------------->
<cfif action is "editCollOIDT">


		<cfquery name="q" datasource="user_login" username="#session.dbuser#" password="#decrypt(session.epw,session.sessionKey)#">
			select * from ctcoll_other_id_type order by sort_order,other_id_type
		</cfquery>

				</cfquery>
			</cfif>
		</cfloop>
		</cfoutput>
	</cftransaction>
	<cflocation url="CodeTableEditor.cfm?action=edit&tbl=cttaxon_term" addtoken="false">
</cfif>
