diff options
Diffstat (limited to 'www/edit.php')
| -rw-r--r-- | www/edit.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/www/edit.php b/www/edit.php index 562c97c..4de3d47 100644 --- a/www/edit.php +++ b/www/edit.php @@ -3,13 +3,14 @@ namespace phorkie; /** * Edit paste contents */ +$reqWritePermissions = true; require_once 'www-header.php'; $repo = new Repository(); $repo->loadFromRequest(); $repopo = new Repository_Post($repo); -if ($repopo->process($_POST)) { +if ($repopo->process($_POST, $_SESSION)) { redirect($repo->getLink('display')); } |
