Commit 256c589c authored by Côme Chilliet's avatar Côme Chilliet Committed by Benoit Mortier
Browse files

Fixes #4137 Fixed (un)locked account icon on users

Showing with 2 additions and 2 deletions
+2 -2
......@@ -179,9 +179,9 @@ class userManagement extends simpleManagement
$image = 'images/empty.png';
if (isset($userPassword[0]) && preg_match('/^\{[^\}]/', $userPassword[0])) {
if (preg_match('/^[^\}]*+\}!/', $userPassword[0])) {
$image = 'geticon.php?context=status&icon=object-locked&size=16';
$image = 'geticon.php?context=status&icon=object-locked&size=16';
} else {
$image = 'geticon.php?context=status&icon=object-unlocked&size=16';
$image = 'geticon.php?context=status&icon=object-unlocked&size=16';
}
}
return $image;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment