Committer: gariev
less warnings about undefined valuesU trunk/lib/FB/User.pm
Modified: trunk/lib/FB/User.pm =================================================================== --- trunk/lib/FB/User.pm 2011-05-26 06:53:45 UTC (rev 1446) +++ trunk/lib/FB/User.pm 2011-06-10 08:09:48 UTC (rev 1447) @@ -572,7 +572,8 @@ $sth->execute; return 0 if $sth->err; - + + $props = {}; ## store empty but defined hash if user has no props while (my ($id, $value) = $sth->fetchrow_array) { my $name = $ps->{$id}; next unless $name;