From 05311eb08dde5d1e5ec7ae54750514e2ae4118d5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Thu, 22 Oct 2009 17:01:16 +0200 Subject: [PATCH] admin: auth konstanten als object Methoden aufrufen. --- bin/mozilla/admin.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/mozilla/admin.pl b/bin/mozilla/admin.pl index 46f16d790..a08891a8f 100755 --- a/bin/mozilla/admin.pl +++ b/bin/mozilla/admin.pl @@ -78,7 +78,7 @@ $form->{stylesheet} = "lx-office-erp.css"; $form->{favicon} = "favicon.ico"; if ($form->{action}) { - if ($auth->authenticate_root($form->{rpw}, 0) != Auth->OK()) { + if ($auth->authenticate_root($form->{rpw}, 0) != $auth->OK()) { $form->{error_message} = $locale->text('Incorrect Password!'); adminlogin(); exit; @@ -88,7 +88,7 @@ if ($form->{action}) { call_sub($locale->findsub($form->{action})); -} elsif ($auth->authenticate_root($form->{rpw}, 0) == Auth->OK()) { +} elsif ($auth->authenticate_root($form->{rpw}, 0) == $auth->OK()) { $auth->create_or_refresh_session() if ($auth->session_tables_present()); -- 2.20.1