From d4f9d559a4a4d5e8fa2bb10be268e24634169b5e Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Wed, 17 Feb 2010 13:00:57 +0100 Subject: [PATCH] Scriptname steht nicht mehr in $form --- SL/Dispatcher.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SL/Dispatcher.pm b/SL/Dispatcher.pm index dc7f68f2d..b4f75ba1b 100644 --- a/SL/Dispatcher.pm +++ b/SL/Dispatcher.pm @@ -102,10 +102,10 @@ sub require_main_code { }; $::form->error($EVAL_ERROR) if ($EVAL_ERROR); } - if ($::form->{login} && -f "bin/mozilla/$::form->{login}_$::form->{script}") { + if ($::form->{login} && -f "bin/mozilla/$::form->{login}_$script") { eval { package main; - require "bin/mozilla/$::form->{login}_$::form->{script}"; + require "bin/mozilla/$::form->{login}_$script"; }; $::form->error($EVAL_ERROR) if ($EVAL_ERROR); } -- 2.20.1