aboutsummaryrefslogtreecommitdiffstats
path: root/AdminPanel/Users/users.pm
diff options
context:
space:
mode:
Diffstat (limited to 'AdminPanel/Users/users.pm')
-rw-r--r--AdminPanel/Users/users.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/AdminPanel/Users/users.pm b/AdminPanel/Users/users.pm
index 2c06f78..719c9f6 100644
--- a/AdminPanel/Users/users.pm
+++ b/AdminPanel/Users/users.pm
@@ -78,8 +78,7 @@ sub GetFaceIcon {
my $current_icon;
# remove shortcut "&" from label
$name =~ s/&// if ($name);
- my $user_icon = face2png($name) if ($name);
-
+ my $user_icon = "$::prefix/usr/share/faces/$name.png" if ($name);
if ($name && -e $user_icon) {
my $current_md5 = common::md5file($user_icon);