about summary refs log tree commit diff stats
path: root/src/LYMainLoop.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/LYMainLoop.c')
-rw-r--r--src/LYMainLoop.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/LYMainLoop.c b/src/LYMainLoop.c
index 95c9026b..b8172cc6 100644
--- a/src/LYMainLoop.c
+++ b/src/LYMainLoop.c
@@ -2955,6 +2955,7 @@ static BOOLEAN handle_LYK_HEAD(int *cmd)
 		       links[curdoc.link].l_form->disabled) {
 		HTUserMsg(FORM_ACTION_DISABLED);
 	    } else if (links[curdoc.link].type == WWW_FORM_LINK_TYPE &&
+		       links[curdoc.link].l_form->submit_action != 0 &&
 		       !isLYNXCGI(links[curdoc.link].l_form->submit_action) &&
 		       strncmp(links[curdoc.link].l_form->submit_action,
 			       "http", 4)) {