--- loncom/xml/scripttag.pm 2001/07/06 21:54:10 1.43 +++ loncom/xml/scripttag.pm 2001/07/09 04:10:30 1.44 @@ -256,9 +256,11 @@ sub start_physnet { my ($target,$token,$tagstack,$parstack,$parser,$safeeval,$style)=@_; my $cbistylefile = &Apache::lonnet::getfile('/home/httpd/res/msu/physnet/cbi.sty'); %$style = (%$style,&Apache::style::styleparser($target,$cbistylefile)); - &Apache::lonxml::newparser($parser$$style{'physnet'}); + if ( defined($$style{'physnet'}) ) { + &Apache::lonxml::newparser($parser,$$style{'physnet'}); + } - return ""; + return ''; }