fix typo in variable name

This commit is contained in:
Uwe Steinmann 2019-06-26 13:37:16 +02:00
parent b3a2e0bb32
commit e16a5dd46e

View File

@ -27,9 +27,9 @@ require_once("inc/inc.ClassUI.php");
include $settings->_rootDir . "languages/" . $settings->_language . "/lang.inc";
if (isset($_REQUEST["referuri"]) && strlen($_REQUEST["referuri"])>0)
$referui = $_REQUEST["referuri"];
$referuri = $_REQUEST["referuri"];
else
$referui = '';
$referuri = '';
if (isset($_REQUEST["hash"]) && strlen($_REQUEST["hash"])>0) {
$hash = $_REQUEST["hash"];
@ -39,10 +39,8 @@ if (isset($_REQUEST["hash"]) && strlen($_REQUEST["hash"])>0) {
}
$tmp = explode('.', basename($_SERVER['SCRIPT_FILENAME']));
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'referui'=>$referui, 'hash'=>$hash, 'passwordstrength'=>$settings->_passwordStrength));
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'referuri'=>$referuri, 'hash'=>$hash, 'passwordstrength'=>$settings->_passwordStrength));
if($view) {
$view($_GET);
exit;
}
?>