Changeset 4843


Ignore:
Timestamp:
2003-07-01T14:30:39+12:00 (21 years ago)
Author:
mdewsnip
Message:

Added check to ConvertToRogPlug creation so that 'pluginfo.pl ConvertToRogPlug' doesn't crash and burn (because there is no target format specified).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/perllib/plugins/ConvertToRogPlug.pm

    r4745 r4843  
    7575sub new {
    7676    my $class = shift (@_);
    77     if ($class eq "ConvertToRogPlug") {$class = shift (@_);}
     77    if ($class eq "ConvertToRogPlug" && defined $_[0]) {$class = shift (@_);}
    7878    my $self;
    7979    # parsargv::parse might modify the list, so we do this by creating a copy
Note: See TracChangeset for help on using the changeset viewer.