Explorar o código

Update so it reflects changes in Pisg::HTMLGenerator

Morten Brix Pedersen %!s(int64=25) %!d(string=hai) anos
pai
achega
78ec325a6e
Modificáronse 1 ficheiros con 8 adicións e 2 borrados
  1. 8 2
      modules/Pisg.pm

+ 8 - 2
modules/Pisg.pm

@@ -1,6 +1,6 @@
 package Pisg;
 
-# POD for this module is found at the end of the file.
+# Documentation(POD) for this module is found at the end of the file.
 
 # Copyright (C) 2001  <Morten Brix Pedersen> - morten@wtf.dk
 #
@@ -401,7 +401,13 @@ _END
         my $generator;
         eval <<_END;
 use Pisg::HTMLGenerator;
-\$generator = new Pisg::HTMLGenerator(\$self->{cfg}, \$self->{debug}, \$stats, \$self->{users}, \$self->{tmps});
+\$generator = new Pisg::HTMLGenerator(
+    cfg => \$self->{cfg},
+    debug => \$self->{debug},
+    stats => \$stats,
+    users => \$self->{users},
+    tmps => \$self->{tmps}
+);
 _END
 
         if ($@) {