backend of yendot on facebook
Révision | 06f853b92c351506155998159efd203652f26867 (tree) |
---|---|
l'heure | 2012-11-06 19:07:45 |
Auteur | ISHIKAWA Mutsumi <ishikawa@hanz...> |
Commiter | ISHIKAWA Mutsumi |
fix return value format
@@ -95,7 +95,7 @@ sub search_by_fb_post_id { | ||
95 | 95 | my $sth = $me->{dbh}->prepare('select * from posts where fb_post_id = ?'); |
96 | 96 | $sth->bind_param(1, $db_args->{fb_post_id}, SQL_BIGINT); |
97 | 97 | $sth->execute(); |
98 | - my $ret = $sth->fetchall_arrayref({}); | |
98 | + my $ret = $sth->fetchrow_hashref(); | |
99 | 99 | $sth->finish; |
100 | 100 | |
101 | 101 | return $ret; |