Changeset 5e1876d


Ignore:
Timestamp:
Apr 6, 2009, 9:01:45 PM (12 years ago)
Author:
Nelson Elhage <nelhage@mit.edu>
Branches:
master, release-1.7, release-1.8, release-1.9
Children:
4ea78a8
Parents:
bab79f8
Message:
Don't die if friends_timeline returns a scalar.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/BarnOwl/Module/Twitter.pm

    rbab79f8 r5e1876d  
    163163
    164164    my $timeline = $twitter->friends_timeline( { since_id => $last_id } );
    165     unless(defined($timeline)) {
     165    unless(defined($timeline) && ref($timeline)) {
    166166        twitter_error();
    167167        return;
Note: See TracChangeset for help on using the changeset viewer.