OSDN Git Service
(root)
/
mubot4fb
/
mubot4fb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
342f77c
)
fix return value format
author
ISHIKAWA Mutsumi
<ishikawa@hanzubon.jp>
Tue, 6 Nov 2012 10:07:45 +0000
(19:07 +0900)
committer
ISHIKAWA Mutsumi
<ishikawa@hanzubon.jp>
Tue, 6 Nov 2012 10:07:45 +0000
(19:07 +0900)
lib/Mubot4FB/DB.pm
patch
|
blob
|
history
diff --git
a/lib/Mubot4FB/DB.pm
b/lib/Mubot4FB/DB.pm
index
cb5b642
..
b939515
100644
(file)
--- a/
lib/Mubot4FB/DB.pm
+++ b/
lib/Mubot4FB/DB.pm
@@
-95,7
+95,7
@@
sub search_by_fb_post_id {
my $sth = $me->{dbh}->prepare('select * from posts where fb_post_id = ?');
$sth->bind_param(1, $db_args->{fb_post_id}, SQL_BIGINT);
$sth->execute();
- my $ret = $sth->fetch
all_arrayref({}
);
+ my $ret = $sth->fetch
row_hashref(
);
$sth->finish;
return $ret;