Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 UTC on 18 March 2024, to get $100 off your ticket.
Unset tries to unset a variable that is not set if the database connection fails. you get a warning at the top of the database connection failure page. Change
unset($_SESSION['messages']);
to
if(isset($_SESSION['messages']))
{
unset($_SESSION['messages']);
}
Comment | File | Size | Author |
---|---|---|---|
#3 | unset_1.patch | 440 bytes | chx |
Comments
Comment #1
peterx CreditAttribution: peterx commentedThis occurs on beta 6 and RC1.
Comment #2
chx CreditAttribution: chx commentedyou are right.
Comment #3
chx CreditAttribution: chx commentedThat can be fixed with minimal change...
Comment #4
chx CreditAttribution: chx commentedoh and the status
Comment #5
killes@www.drop.org CreditAttribution: killes@www.drop.org commentedapplied
Comment #6
(not verified) CreditAttribution: commented