X-Git-Url: https://git.camperquake.de/gitweb.cgi?a=blobdiff_plain;f=videosite%2FBase.pm;h=51b091c5ed9b55ff28219c97de48bf0d062214b8;hb=9cfabbf047871e6671aca65e9313cb4f2ce23124;hp=cf8bafa51e4e99f2a513d00e4f2d5b17f48436d4;hpb=41f912b4c321ef013ab53d55ac2fefe43023dac1;p=videosite.git diff --git a/videosite/Base.pm b/videosite/Base.pm index cf8bafa..51b091c 100644 --- a/videosite/Base.pm +++ b/videosite/Base.pm @@ -20,7 +20,6 @@ sub new { sub error { my $self = shift; - my @data = @_; my $t; $t = sprintf(shift(@_), @_); @@ -56,7 +55,7 @@ sub _prepare_parameters { my $self = shift; my $p; - $self->{'_CONFIG'} = {'option' => {}}; + $self->{'_CONFIG'} = {'option' => {'enabled' => {'content' => '1'}}}; foreach $p (keys(%{$self->{'_PARAMS'}})) { $self->{'_CONFIG'}->{'option'}->{$p}->{'content'} = $self->{'_PARAMS'}->{$p}->[0];