changeset 608:452cf39c99aa

updated
author MURAKAMI Masaki <c112124@h.koeki-u.ac.jp>
date Sat, 26 Jul 2014 10:17:05 +0900
parents c4ca02958a58
children a4855631d96b
files minato2014/accountcheck.rb
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/minato2014/accountcheck.rb	Sat Jul 26 10:12:37 2014 +0900
+++ b/minato2014/accountcheck.rb	Sat Jul 26 10:17:05 2014 +0900
@@ -27,7 +27,7 @@
 aria = c["aria"]
 
 sel = 'select * from main where id=?'
-h = db.execute(sel, id)
+h = db.execute(sel, id.to_i)
 
 if id != nil && h != []
 update = 'update main set name=?, job=?, age=?, sex=?, aria=? where id=? and magic=?'

yatex.org