Андрей (andy) wrote in changelog,
Андрей
andy
changelog

[livejournal] r19033: LJSUP-8767 (remove weird warnings when t...

Committer: ailyin
LJSUP-8767 (remove weird warnings when trying to deal with new unknown props)
U   trunk/cgi-bin/LJ/User/PropStorage.pm
Modified: trunk/cgi-bin/LJ/User/PropStorage.pm
===================================================================
--- trunk/cgi-bin/LJ/User/PropStorage.pm	2011-05-06 04:29:25 UTC (rev 19032)
+++ trunk/cgi-bin/LJ/User/PropStorage.pm	2011-05-06 04:36:42 UTC (rev 19033)
@@ -137,6 +137,7 @@
     my %ret;
     foreach my $propid (keys %$packed) {
         my $propname = $LJ::CACHE_PROPID{'user'}->{$propid}->{'name'};
+        next unless defined $propname;
         $ret{$propname} = $packed->{$propid};
     }
 

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