From 72304505cb8f55355d79b2037765dfd7a6d88982 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Thu, 12 Jan 2012 04:11:20 +0800 Subject: [PATCH] Fix: add htmlname parameter --- htdocs/core/lib/security.lib.php | 2 +- htdocs/user/passwordforgotten.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/core/lib/security.lib.php b/htdocs/core/lib/security.lib.php index d6a8281ce72..34a6ab9b200 100644 --- a/htdocs/core/lib/security.lib.php +++ b/htdocs/core/lib/security.lib.php @@ -269,7 +269,7 @@ function dol_loginfunction($langs,$conf,$mysoc) if (! empty($conf->multicompany->enabled) && empty($conf->global->MULTICOMPANY_HIDE_LOGIN_COMBOBOX)) { $rowspan++; - $select_entity = $mc->select_entities($lastentity, 'tabindex="3"', 1); + $select_entity = $mc->select_entities($lastentity, 'entity', ' tabindex="3"', 1); } // Security graphical code diff --git a/htdocs/user/passwordforgotten.php b/htdocs/user/passwordforgotten.php index 8a355b4b5b5..783a2d24923 100644 --- a/htdocs/user/passwordforgotten.php +++ b/htdocs/user/passwordforgotten.php @@ -228,7 +228,7 @@ if (! empty($conf->multicompany->enabled) && empty($conf->global->MULTICOMPANY_ } } - $select_entity = $mc->select_entities($lastentity,'tabindex="2"'); + $select_entity = $mc->select_entities($lastentity, 'entity', ' tabindex="2"'); } // Security graphical code