--- loncom/interface/loncommon.pm	2007/01/20 22:04:57	1.502
+++ loncom/interface/loncommon.pm	2007/01/23 20:00:38	1.503
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # a pile of common routines
 #
-# $Id: loncommon.pm,v 1.502 2007/01/20 22:04:57 raeburn Exp $
+# $Id: loncommon.pm,v 1.503 2007/01/23 20:00:38 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -4952,7 +4952,7 @@ sub get_course_users {
                     $usec = 'none';
                 }
                 if ($uname ne '' && $udom ne '') {
-                    if ($end < $now) {
+                    if ($end > 0 && $end < $now) {
                         $status = 'previous';
                     } elsif ($start > $now) {
                         $status = 'future';