summaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
Diffstat (limited to 'web')
-rw-r--r--web/html/logout.php2
1 files changed, 1 insertions, 1 deletions
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);