Mercurial > hgrepos > hgweb.cgi > skipweb
changeset 3419:9ed0685476e9
kayaku4.rbÊѹ¹4
author | OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp> |
---|---|
date | Thu, 27 Jul 2017 02:02:19 +0900 |
parents | 565e2ee45543 |
children | 2369a550c98a |
files | event/oasis2017/ikusei/kayaku4.rb |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/event/oasis2017/ikusei/kayaku4.rb Thu Jul 27 02:00:03 2017 +0900 +++ b/event/oasis2017/ikusei/kayaku4.rb Thu Jul 27 02:02:19 2017 +0900 @@ -64,11 +64,11 @@ #end #end - dbn = db.execute("SELECT name from users WHERE id=?", id)[0] - if dbn != nil && dbn[0] - playname = dbn[0] + dbname = db.execute("SELECT name from users WHERE id=?", id)[0] + if dbname != nil && dbname[0] + playname = dbname[0] end -#end +end if playname == ""