--- loncom/homework/response.pm	2018/09/02 16:51:51	1.244.2.1
+++ loncom/homework/response.pm	2019/10/23 22:35:22	1.244.2.2
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # various response type definitons response definition
 #
-# $Id: response.pm,v 1.244.2.1 2018/09/02 16:51:51 raeburn Exp $
+# $Id: response.pm,v 1.244.2.2 2019/10/23 22:35:22 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1307,7 +1307,7 @@ sub submitted {
 	return 1;
     }
     # Submit All button on a .page was pressed
-    if (defined($env{'form.all_submit'})) { return 1; }
+    if ($env{'form.all_submit'}) { return 1; }
     # otherwise no submission occurred
     return 0;
 }