X-Git-Url: http://git.shiar.net/minimedit.git/blobdiff_plain/97bc8f54b09859842e53d4886234a3b09122ea71..2b56d0fa69a4608fb1b582fca5f08d343f5b90eb:/edit.php diff --git a/edit.php b/edit.php index 01d83df..1856336 100755 --- a/edit.php +++ b/edit.php @@ -5,7 +5,7 @@ function abort($status, $body) { exit; } -if (!$User['admin']) +if (!@$User['admin']) abort('401 unauthorised', "geen beheersrechten"); if (!$_POST)