Check out Chess with Different Armies, our featured variant for July, 2024.


[ Help | Earliest Comments | Latest Comments ]
[ List All Subjects of Discussion | Create New Subject of Discussion ]
[ List Earliest Comments Only For Pages | Games | Rated Pages | Rated Games | Subjects of Discussion ]

Single Comment

Something is off[Subject Thread] [Add Response]
🕸Fergus Duniho wrote on Mon, May 14, 2018 12:24 AM UTC:

The problem with valid_column_name() is that it was returning false if it could not connect to the database. I replaced it with a function that has all the column names hardcoded into it. The one drawback to this is that it will have to be updated when columns in the database are updated. Although I didn't notice any problems with valid_table_name(), I also replaced it with one that has the table names hardcoded into it.