diff --git a/Rocksolid_Light/rocksolid/lib/message.inc.php b/Rocksolid_Light/rocksolid/lib/message.inc.php
index 27c6155..59a2e92 100644
--- a/Rocksolid_Light/rocksolid/lib/message.inc.php
+++ b/Rocksolid_Light/rocksolid/lib/message.inc.php
@@ -624,6 +624,7 @@ function message_show($group,$id,$attachment=0,$article_data=false,$maxlen=false
show_header($head,$group,$local_poster);
// X-Face
if ($face = display_full_headers($head->number,$group,$head->name,$head->from,true)) {
+// $pngfile = '../tmp/face-'.preg_replace("/[^A-Za-z0-9 ]/", '', $head->id);
$pngfile = '../tmp/face-'.hash('ripemd160', $face);
if(file_exists($pngfile)) {
echo '';
@@ -637,9 +638,9 @@ function message_show($group,$id,$attachment=0,$article_data=false,$maxlen=false
imagepng($xbm, $pngfile);
imagedestroy($xbm);
echo '';
- unlink($facefile);
- unlink($xbmfile);
}
+ unlink($facefile);
+ unlink($xbmfile);
}
}