aboutsummaryrefslogtreecommitdiffstats
path: root/include/functions_user.inc.php
diff options
context:
space:
mode:
authorpatdenice <patdenice@piwigo.org>2008-02-29 13:04:00 +0000
committerpatdenice <patdenice@piwigo.org>2008-02-29 13:04:00 +0000
commit234a64607b54be1003659cdb192d6328c2bf5cf8 (patch)
treeb967033b60af350cc8f3f4194e92ee8432c827af /include/functions_user.inc.php
parent8f354f008eec540d0055e7b774a64feec93ef561 (diff)
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
Diffstat (limited to '')
-rw-r--r--include/functions_user.inc.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/functions_user.inc.php b/include/functions_user.inc.php
index 14666da7f..6817ec263 100644
--- a/include/functions_user.inc.php
+++ b/include/functions_user.inc.php
@@ -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'];
}