X-Git-Url: http://git.shiar.nl/minimedit.git/blobdiff_plain/38cf6657d274595ff4a2025a71376525864243ce..217f7dc706236f1edbff198893b54f3518742879:/page.php diff --git a/page.php b/page.php index 3e3f4cc..f9dabf0 100644 --- a/page.php +++ b/page.php @@ -56,7 +56,7 @@ $Page->place += [ 'url' => htmlspecialchars($_SERVER['REQUEST_URI']), ]; -if ($User->admin("edit {$Page->link}")) { +if ($Page->editable = $User->admin("edit {$Page->link}")) { include_once 'edit/head.inc.php'; }