diff options
author | piernov <piernov@piernov.servegame.org> | 2012-10-21 21:40:48 +0200 |
---|---|---|
committer | piernov <piernov@piernov.servegame.org> | 2012-10-21 21:40:48 +0200 |
commit | 9e5495e169ef0cb888a91a1ead62bc81e1b2bdba (patch) | |
tree | 91d54cbf14deec05c027e9c204997b2c04185957 /index.cgi | |
parent | 8a03b03fb21e168ace1c5424967d0e6ddbc6c7cc (diff) | |
download | bdg-master.tar.gz bdg-master.tar.bz2 bdg-master.tar.xz bdg-master.zip |
Diffstat (limited to 'index.cgi')
-rwxr-xr-x | index.cgi | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -36,7 +36,7 @@ displayed = Hash.new() i = 0 until i == count -db.execute("SELECT id,titre,auteur,blague,DATE_FORMAT(date_post, '%e/%c/%Y'),voteplus,votetotal FROM blague WHERE ID=#{rand(total)+1}").each { |row| +db.execute("SELECT id,titre,auteur,blague,DATE_FORMAT(date_post, '%e/%c/%Y'),voteplus,voteminus FROM blague WHERE ID=#{rand(total)+1}").each { |row| if displayed["#{row[0]}"] == true next else |