4 ms·
> they literally couldn't print out their badge I still don't quite get how this doesn't work. Why are they handling "NULL" as a special case? What's coercing
by oneeyedpigeon 9y ago
> they literally couldn't print out their badge
I still don't quite get how this doesn't work. Why are they handling "NULL" as a special case? What's coercing "NULL" into null?
- T2_t2 9y agoBad coding.
- sulam 9y agoIt was due to the way they exported the data. They used a SQL statement, and if you weren’t in a guild then the SQL would produce NULL. That output was then used to generate PDF badges, and it tried to do some filtering for NULL guilds. The person writing that script clearly did not anticipate there actually being a guild named NULL.