[LON-CAPA-cvs] cvs: loncom /interface lonmenu.pm
matthew
lon-capa-cvs@mail.lon-capa.org
Wed, 13 Feb 2002 18:03:57 -0000
matthew Wed Feb 13 13:03:57 2002 EDT
Modified files:
/loncom/interface lonmenu.pm
Log:
Small cleanup to avoid warning in BEGIN block.
Index: loncom/interface/lonmenu.pm
diff -u loncom/interface/lonmenu.pm:1.14 loncom/interface/lonmenu.pm:1.15
--- loncom/interface/lonmenu.pm:1.14 Wed Feb 13 11:08:26 2002
+++ loncom/interface/lonmenu.pm Wed Feb 13 13:03:57 2002
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Routines to control the menu
#
-# $Id: lonmenu.pm,v 1.14 2002/02/13 16:08:26 www Exp $
+# $Id: lonmenu.pm,v 1.15 2002/02/13 18:03:57 matthew Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -173,7 +173,7 @@
# ================================================================ Main Program
sub BEGIN {
- if ($readdesk ne 'done') {
+ if (! defined($readdesk)) {
{
my $config=Apache::File->new($Apache::lonnet::perlvar{'lonTabDir'}.
'/mydesk.tab');