From 2107524e8bffd6a757ce4b7b061832b37de6a564 Mon Sep 17 00:00:00 2001 From: Xkeeper Date: Sun, 9 Aug 2015 14:13:39 -0700 Subject: [PATCH] fixing adbox issue. this might be removed soon though --- lib/layout.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/layout.php b/lib/layout.php index ce0a4f4..2feddf5 100644 --- a/lib/layout.php +++ b/lib/layout.php @@ -415,7 +415,7 @@ function makeheader($header1,$headlinks,$header2) { global $loguser, $PHP_SELF; $header = $header1.$headlinks.$header2; - if (!$loguser['id'] && strpos($PHP_SELF, "index.php") !== false) { + if (!$loguser['id'] && strpos($PHP_SELF, "index.php") === false) { $header .= adbox() ."
"; } return $header;