Committer: gariev
LJSUP-6905: Resolve 'uninitialized value' in Memcached perl module.U trunk/cgi-bin/ljlib.pl
Modified: trunk/cgi-bin/ljlib.pl =================================================================== --- trunk/cgi-bin/ljlib.pl 2010-12-01 10:36:38 UTC (rev 17839) +++ trunk/cgi-bin/ljlib.pl 2010-12-01 10:57:56 UTC (rev 17840) @@ -472,7 +472,7 @@ my ($opt, @uids) = @_; # allow optional opt hashref as first argument - unless (ref $opt eq 'HASH') { + if ($opt && ref $opt ne 'HASH') { push @uids, $opt; $opt = {}; }