Changeset 2229 for trunk/include/functions_user.inc.php
- Timestamp:
- 02/29/08 14:10:58 (5 years ago)
- Files:
-
- 1 modified
-
trunk/include/functions_user.inc.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/functions_user.inc.php
r2221 r2229 867 867 { 868 868 $user_ids = array(); 869 if (is_ integer($arg_id))869 if (is_numeric($arg_id)) 870 870 { 871 871 $user_ids[] = $arg_id; … … 1228 1228 else 1229 1229 { 1230 if ( is_adviser())1230 if (script_basename() == 'admin' and is_adviser()) 1231 1231 { 1232 1232 return 'adviser.mode@'.$_SERVER['SERVER_NAME'];
![(please configure the [header_logo] section in trac.ini)](http://piwigo.org/screenshots/piwigo_logo_on_white.png)