diff options
author | canyonknight <canyonknight@gmail.com> | 2012-09-09 20:53:04 +0200 |
---|---|---|
committer | Lukas Fleischer <archlinux@cryptocrack.de> | 2012-09-18 00:58:55 +0200 |
commit | c133826a7c00bd62c5dca890d5e0fd882e689e57 (patch) | |
tree | 2c712fe45d7d532495cb839afaa0b579eb75794a /web/html/logout.php | |
parent | 5dfbb783f11392b1bae7d6e4a83826d702a4f0ca (diff) | |
download | aur-c133826a7c00bd62c5dca890d5e0fd882e689e57.tar.gz aur-c133826a7c00bd62c5dca890d5e0fd882e689e57.tar.xz |
logout.php: Fix PHP undefined variable notice
Signed-off-by: canyonknight <canyonknight@gmail.com>
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Diffstat (limited to 'web/html/logout.php')
-rw-r--r-- | web/html/logout.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/html/logout.php b/web/html/logout.php index 835f1c90..3d059e70 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); |