projects
/
mailer.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fixes for installation phase, old lost call of FILTER_COMPILE_CONFIG() removed
[mailer.git]
/
inc
/
libs
/
admins_functions.php
diff --git
a/inc/libs/admins_functions.php
b/inc/libs/admins_functions.php
index 6a1116e65e23958ab90059b480896ceacbeb6b47..4b3aa1bedfdd41bb87a2f8c4ffe84311d360758d 100644
(file)
--- a/
inc/libs/admins_functions.php
+++ b/
inc/libs/admins_functions.php
@@
-181,7
+181,7
@@
function adminsChangeAdminAccount ($postData, $element = '') {
// Get admin's id
$adminId = getCurrentAdminId();
- $salt = substr(getAdminHash(
$adminId
), 0, -40);
+ $salt = substr(getAdminHash(
getAdminLogin($adminId)
), 0, -40);
// Rewrite cookie when it's own account
if ($adminId == $id) {