summaryrefslogtreecommitdiffstats
path: root/pages/home.php
diff options
context:
space:
mode:
authorPatrick Davison <snapwilliam@gmail.com>2013-05-10 02:17:14 -0700
committerPatrick Davison <snapwilliam@gmail.com>2013-05-10 02:17:14 -0700
commit86aac4847705f0a4559400da6c0e9f1aeba5cdf8 (patch)
treec8c43ab196e5a0a4d280ea84152be5d0e061e0c7 /pages/home.php
parent51d99728286212717003009dd5706bb74edcb272 (diff)
downloadpathery-86aac4847705f0a4559400da6c0e9f1aeba5cdf8.tar.xz
Many bugs and PHP notices & warning fixes.
Diffstat (limited to 'pages/home.php')
-rw-r--r--pages/home.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/pages/home.php b/pages/home.php
index 696c0cc..9c4cf3d 100644
--- a/pages/home.php
+++ b/pages/home.php
@@ -90,7 +90,7 @@ function adToggle() {
<?php
topbar($Links);
-$showAd = ($_COOKIE['pref_showAd'] == "yes");
+$showAd = (isset($_COOKIE['pref_showAd']) AND $_COOKIE['pref_showAd'] == "yes");
$adClass = 'adHidden';
$adShow = 'Hide';
if ($showAd) {