vadvs (vadvs) wrote in changelog,
vadvs
vadvs
changelog

[livejournal] r17954: LJSV-1331: fix friendsfriends page

Committer: vad
LJSV-1331: fix friendsfriends page
U   trunk/cgi-bin/LJ/MemCache.pm
Modified: trunk/cgi-bin/LJ/MemCache.pm
===================================================================
--- trunk/cgi-bin/LJ/MemCache.pm	2010-12-17 05:03:12 UTC (rev 17953)
+++ trunk/cgi-bin/LJ/MemCache.pm	2010-12-17 05:05:58 UTC (rev 17954)
@@ -651,7 +651,8 @@
 
     my $format_version = $format_info->[0];
     return unless $hash
-              and ref $hash eq "HASH";
+              and (ref $hash eq "HASH" 
+                   or ref $hash eq 'LJ::User');
 
     my @ret = ( $format_version );
     foreach my $i ( 1 .. $#$format_info ) {

Tags: livejournal, pm, vadvs
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