--- loncom/interface/lonmsg.pm 2007/08/18 00:32:52 1.210 +++ loncom/interface/lonmsg.pm 2008/03/12 02:45:07 1.211 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Routines for messaging # -# $Id: lonmsg.pm,v 1.210 2007/08/18 00:32:52 albertel Exp $ +# $Id: lonmsg.pm,v 1.211 2008/03/12 02:45:07 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -385,7 +385,7 @@ to access the full message.',$url); sub newmail { if ((time-$env{'user.mailcheck.time'})>300) { my %what=&Apache::lonnet::get('email_status',['recnewemail']); - &Apache::lonnet::appenv('user.mailcheck.time'=>time); + &Apache::lonnet::appenv({'user.mailcheck.time'=>time}); if ($what{'recnewemail'}>0) { return 1; } } return 0;