summaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'index.php')
-rw-r--r--index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.php b/index.php
index b4d930f..ac87ed9 100644
--- a/index.php
+++ b/index.php
@@ -31,7 +31,7 @@
</div>
<div id="content">
<?PHP
- if($pages->HasWriteAccess($page, 'c')) {
+ if($pages->HasWriteAccess($page, 'c') && $_GET['mode'] != 'edit') {
$backlink = $GLOBALS['links']->GetNeonLink($page);
echo '<a class="editlink" href="' . $GLOBALS['links']->GetNeonLink($page, 'mode=edit') . '">Bearbeiten</a>';