Committer: vsukhanov
LJSUP-7961: Add ability to display default userpic of the user.U trunk/cgi-bin/cleanhtml.pl
Modified: trunk/cgi-bin/cleanhtml.pl =================================================================== --- trunk/cgi-bin/cleanhtml.pl 2011-03-11 10:31:41 UTC (rev 18522) +++ trunk/cgi-bin/cleanhtml.pl 2011-03-11 11:26:42 UTC (rev 18523) @@ -423,7 +423,11 @@ } my $upic = ref $u ? $u->userpic : ''; - $newdata .= $upic->imgtag if $upic; + if ($upic){ + $newdata .= $upic->imgtag; + } else { + $newdata .= qq|<img src="http://wh.livejournal.ru/icons/nouserpic.png" width="100" height="100">|; + } } if ($tag eq "lj-wishlist") {