Please find attached a patch to fix the issue where a PHP fatal error is caused by line 170 of this module if someone attempts a hack. The developer attempts to wrap the message in the t() function, but it cannot be guaranteed available as the bootstrap order is arbitrary. If it is not available, a fatal error is caused. Easiest fix, don't wrap it in the t() function! =)
| Comment | File | Size | Author |
|---|---|---|---|
| singlesignon_boot_t_patch-20081024.patch | 526 bytes | greg.harvey |
Comments
Comment #1
greg.harveyActually, correction - t() is core, so bootstrap is not the issue - rather using hook_boot() as opposed to hook_init(). Totally get why you do that, you *MUST* use hook_boot() but it means t() is not available because nothing has been initialised at that point.
Comment #2
greg.harveyComment #3
tayzlor commentedand this, can it be reviewed / applied?