X-Git-Url: http://git.shiar.nl/minimedit.git/blobdiff_plain/97bc8f54b09859842e53d4886234a3b09122ea71..d25b72d1e59591449d5efeea4b4063d250ebb1a8:/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)