changeset 614:3c386da692cc

updated
author MURAKAMI Masaki <c112124@h.koeki-u.ac.jp>
date Sat, 26 Jul 2014 11:24:46 +0900
parents 2b3c54308d75
children dc56ba938f6b
files minato2014/accountcheck.rb
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/minato2014/accountcheck.rb	Sat Jul 26 11:12:27 2014 +0900
+++ b/minato2014/accountcheck.rb	Sat Jul 26 11:24:46 2014 +0900
@@ -27,7 +27,7 @@
 aria = c["aria"]
 
 begin
-sel = 'select * from main where id=? magic=?'
+sel = 'select * from main where id=? AND magic=?'
 h = db.execute(sel, id.to_i, c_magic.to_i)
 rescue
 h == []

yatex.org