$::request auch in dbupgrade2_tool initialisieren
authorSven Schöling <s.schoeling@linet-services.de>
Wed, 21 May 2014 08:33:31 +0000 (10:33 +0200)
committerSven Schöling <s.schoeling@linet-services.de>
Wed, 21 May 2014 08:33:31 +0000 (10:33 +0200)
scripts/dbupgrade2_tool.pl

index 9b1e9e0..5ed9c27 100755 (executable)
@@ -461,8 +461,12 @@ sub build_upgrade_order {
 #######
 #######
 
-$locale = Locale->new;
-$form   = Form->new;
+$locale    = Locale->new;
+$form      = Form->new;
+$::request = SL::Request->new(
+  cgi    => CGI->new({}),
+  layout => SL::Layout::None->new,
+);
 
 #######
 #######