--- loncom/xml/londefdef.pm 2006/01/03 23:41:52 1.307 +++ loncom/xml/londefdef.pm 2006/01/04 22:30:50 1.308 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Tags Default Definition Module # -# $Id: londefdef.pm,v 1.307 2006/01/03 23:41:52 foxr Exp $ +# $Id: londefdef.pm,v 1.308 2006/01/04 22:30:50 albertel Exp $ # # # Copyright Michigan State University Board of Trustees @@ -1946,9 +1946,9 @@ sub start_table { # in either case it can be a percentage or absolute width. my $TeXwidth = &Apache::lonxml::get_param('TeXwidth',$parstack,$safeeval,undef,0); - if (not defined $TeXwidth) { + if (!defined($TeXwidth)) { $TeXwidth = &Apache::lonxml::get_param('width',$parstack,$safeeval,undef,1); - + if (!defined($TeXwidth)) { $TeXwidth = $textwidth; } } else { $Apache::londefdef::table[-1]{'forcedtablewidth'} = 1; }