madeon (madeon) wrote in changelog,
madeon
madeon
changelog

[livejournal] r19476: LJSUP-7487: use 'eq' instead of '=='.

Committer: sbelyaev
LJSUP-7487: use 'eq' instead of '=='.
U   trunk/htdocs/manage/profile/index.bml
Modified: trunk/htdocs/manage/profile/index.bml
===================================================================
--- trunk/htdocs/manage/profile/index.bml	2011-07-14 08:36:52 UTC (rev 19475)
+++ trunk/htdocs/manage/profile/index.bml	2011-07-14 09:25:51 UTC (rev 19476)
@@ -252,7 +252,7 @@
                         ## we found a uh. get id and look at paid exp for expire date
                         $ret .= "<img src='".$uh->get_uh_img."' class='i-manage-userhead' />";
                         ## whether the user bought userhead?
-                        if (my ($found_uh) = grep { $_->{item} == "uh_".$uh->get_uh_id } @$uhs) {
+                        if (my ($found_uh) = grep { $_->{item} eq ( "uh_" . f->get_uh_id ) } @$uhs) {
                             $ret .= '&nbsp;'. LJ::Lang::ml('.section.userheads.expire_date', { date => $date_format->($found_uh->{expdate}) });
                         }
                     } else {

Tags: bml, livejournal, madeon
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments