• R/O
  • HTTP
  • SSH
  • HTTPS

mubot4fb: Commit

backend of yendot on facebook


Commit MetaInfo

Révision06f853b92c351506155998159efd203652f26867 (tree)
l'heure2012-11-06 19:07:45
AuteurISHIKAWA Mutsumi <ishikawa@hanz...>
CommiterISHIKAWA Mutsumi

Message de Log

fix return value format

Change Summary

Modification

--- a/lib/Mubot4FB/DB.pm
+++ b/lib/Mubot4FB/DB.pm
@@ -95,7 +95,7 @@ sub search_by_fb_post_id {
9595 my $sth = $me->{dbh}->prepare('select * from posts where fb_post_id = ?');
9696 $sth->bind_param(1, $db_args->{fb_post_id}, SQL_BIGINT);
9797 $sth->execute();
98- my $ret = $sth->fetchall_arrayref({});
98+ my $ret = $sth->fetchrow_hashref();
9999 $sth->finish;
100100
101101 return $ret;
Afficher sur ancien navigateur de dépôt.