wisest owl (wisest_owl) wrote in changelog,
wisest owl
wisest_owl
changelog

[livejournal] r21224: LJSUP-8713. Need to read the prop value,...

Committer: gprochaev
LJSUP-8713. Need to read the prop value, not the hash element

U   trunk/htdocs/userinfo.bml
Modified: trunk/htdocs/userinfo.bml
===================================================================
--- trunk/htdocs/userinfo.bml	2012-02-20 15:22:06 UTC (rev 21223)
+++ trunk/htdocs/userinfo.bml	2012-02-21 09:36:42 UTC (rev 21224)
@@ -733,7 +733,7 @@
     ## fotobilder gallery count
     my $ct_str;
     my $ct;
-    if ($u && (($u->get_cap('fb_account') && $u->get_cap('fb_can_upload')) || ($u->can_use_ljphoto)) && ($u->{fb_num_pubpics} + $u->prop('fotki_all_photos_count') + 0 > 0)) {
+    if ($u && (($u->get_cap('fb_account') && $u->get_cap('fb_can_upload')) || ($u->can_use_ljphoto)) && ($u->prop('fb_num_pubpics') + $u->prop('fotki_all_photos_count') + 0 > 0)) {
         # what we display is an estimate.  to eliminate confusion on the user end, we'll display the
         # estimate in a way that makes it clear it's not an exact number. rules are:
         #

Tags: bml, gprochaev, livejournal, wisest-owl
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