From 0037aeae687131f8886bba9128e81680ebebff4e Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Sat, 10 Jul 2021 12:53:07 +0200 Subject: [PATCH] pass dms to view, because it's needed in globalBanner() --- out/out.PasswordForgotten.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/out/out.PasswordForgotten.php b/out/out.PasswordForgotten.php index 2c4f53587..636044ab4 100644 --- a/out/out.PasswordForgotten.php +++ b/out/out.PasswordForgotten.php @@ -31,7 +31,7 @@ require_once("inc/inc.ClassUI.php"); include $settings->_rootDir . "languages/" . $settings->_language . "/lang.inc"; $tmp = explode('.', basename($_SERVER['SCRIPT_FILENAME'])); -$view = UI::factory($theme, $tmp[1]); +$view = UI::factory($theme, $tmp[1], array('dms'=>$dms)); $accessop = new SeedDMS_AccessOperation($dms, null, $user, $settings); if (isset($_REQUEST["referuri"]) && strlen($_REQUEST["referuri"])>0) {