mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-20 08:33:03 +02:00
Resolved bugs:
741 and 793: Added user does not appear in listing. 769: show email address in adviser mode when editing user profil. 800: get_absolute_root_url does not work with https protocol. git-svn-id: http://piwigo.org/svn/branches/branch-1_7@2228 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -838,7 +838,7 @@ function create_user_infos($arg_id, $override_values = null)
|
||||
else
|
||||
{
|
||||
$user_ids = array();
|
||||
if (is_integer($arg_id))
|
||||
if (is_numeric($arg_id))
|
||||
{
|
||||
$user_ids[] = $arg_id;
|
||||
}
|
||||
@@ -1233,7 +1233,7 @@ function get_email_address_as_display_text($email_address)
|
||||
}
|
||||
else
|
||||
{
|
||||
if (is_adviser())
|
||||
if (script_basename() == 'admin' and is_adviser())
|
||||
{
|
||||
return 'adviser.mode@'.$_SERVER['SERVER_NAME'];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user