summaryrefslogtreecommitdiffstats
path: root/includes/header.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/header.php')
-rw-r--r--includes/header.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/header.php b/includes/header.php
index 50759e0..d718588 100644
--- a/includes/header.php
+++ b/includes/header.php
@@ -91,7 +91,7 @@ function htmlFooter() {
function topbar($links) {
echo '<div id="topbar">';
- $page = $_GET[page];
+ $page = $_GET['page'];
if ($page == '')
$page = 'home';
foreach ($links as $key => $value) {
@@ -99,7 +99,7 @@ function topbar($links) {
$selected = " selected";
else
$selected = "";
- echo "<a href='$domain$key' class='nav$selected'>$value</a>";
+ echo "<a href='$key' class='nav$selected'>$value</a>";
}
echo "<div id='user'>";