The following warnings occurred: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
|
![]() |
ability to edit admin accounts with GUI - Printable Version +- Form Tools (https://forums.formtools.org) +-- Forum: Form Tools (https://forums.formtools.org/forumdisplay.php?fid=1) +--- Forum: Feature Suggestions (https://forums.formtools.org/forumdisplay.php?fid=7) +--- Thread: ability to edit admin accounts with GUI (/showthread.php?tid=1987) |
ability to edit admin accounts with GUI - marcat - Apr 10th, 2012 I currently have about 8 admin users. Problem is with the "Your Account" page (/formtools/admin/account/). It shows the same info for all admins? The function within /formtools/global/code/administrator.php > ft_get_admin_info() could be more specific? Current query: SELECT * FROM {$g_table_prefix}accounts WHERE account_type = 'admin' LIMIT 1 Suggested query: $account_id = $_SESSION["ft"]["account"]["account_id"]; SELECT * FROM {$g_table_prefix}accounts WHERE account_type = 'admin' AND account_id = $account_id LIMIT 1 |