mirror of
https://github.com/Mibew/mibew.git
synced 2025-03-13 14:44:08 +03:00
Remove 'empty password' notification when altering another operator
This commit is contained in:
parent
1d7b27a99d
commit
7dd680cea1
@ -141,7 +141,7 @@ $canmodify = ($opId == $operator['operatorid'] && is_capable($can_modifyprofile,
|
|||||||
$page['stored'] = isset($_GET['stored']);
|
$page['stored'] = isset($_GET['stored']);
|
||||||
$page['canmodify'] = $canmodify ? "1" : "";
|
$page['canmodify'] = $canmodify ? "1" : "";
|
||||||
$page['showjabber'] = $settings['enablejabber'] == "1";
|
$page['showjabber'] = $settings['enablejabber'] == "1";
|
||||||
$page['needChangePassword'] = check_password_hash($operator['vclogin'], '', $operator['vcpassword']);
|
$page['needChangePassword'] = ($opId == $operator['operatorid']) ? check_password_hash($operator['vclogin'], '', $operator['vcpassword']) : FALSE;
|
||||||
|
|
||||||
prepare_menu($operator);
|
prepare_menu($operator);
|
||||||
setup_operator_settings_tabs($opId, 0);
|
setup_operator_settings_tabs($opId, 0);
|
||||||
|
Loading…
Reference in New Issue
Block a user