1
0
Fork 0

fixed issue with password change icon

Dieser Commit ist enthalten in:
Roland Gruber 2016-07-30 09:37:07 +02:00
Ursprung ce3d5930be
Commit b50d48e082
1 geänderte Dateien mit 4 neuen und 1 gelöschten Zeilen

Datei anzeigen

@ -723,7 +723,10 @@ class lamUserList extends lamList {
* @return lamListTool[] tools
*/
protected function getAdditionalTools() {
if (isLAMProVersion() && checkIfPasswordChangeIsAllowed() && checkIfWriteAccessIsAllowed('user')) {
if (!isLAMProVersion()) {
return array();
}
if (checkIfWriteAccessIsAllowed('user') || (checkIfPasswordChangeIsAllowed() && !checkIfWriteAccessIsAllowed())) {
$passwordTool = new lamListTool(_('Change password'), 'key.png', 'changePassword.php');
return array($passwordTool);
}