From c133826a7c00bd62c5dca890d5e0fd882e689e57 Mon Sep 17 00:00:00 2001 From: canyonknight Date: Sun, 9 Sep 2012 14:53:04 -0400 Subject: logout.php: Fix PHP undefined variable notice Signed-off-by: canyonknight Signed-off-by: Lukas Fleischer --- web/html/logout.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'web/html/logout.php') diff --git a/web/html/logout.php b/web/html/logout.php index 835f1c9..3d059e7 100644 --- a/web/html/logout.php +++ b/web/html/logout.php @@ -10,7 +10,7 @@ include_once("acctfuncs.inc.php"); # access AUR common functions # sending any HTML output. # if (isset($_COOKIE["AURSID"])) { - if (!$dbh) { + if (!isset($dbh)) { $dbh = db_connect(); } delete_session_id($_COOKIE["AURSID"], $dbh); -- cgit v1.2.3-54-g00ecf