X-Git-Url: https://git.cweiske.de/phorkie.git/blobdiff_plain/7dcd592544ae0b55d0e205ff83631067a0d0aa6b..a1b772ed96d84480ece5c35eb4c95b692fb63ecc:/www/edit.php diff --git a/www/edit.php b/www/edit.php index e59bcd1..d1853d2 100644 --- a/www/edit.php +++ b/www/edit.php @@ -1,22 +1,24 @@ loadFromRequest(); $repopo = new Repository_Post($repo); -if ($repopo->process($_POST)) { - redirect($repo->getLink('display')); +if ($repopo->process($_POST, $_SESSION)) { + redirect($repo->getLink('display', null, true)); } render( 'edit', array( 'repo' => $repo, + 'dh' => new \Date_HumanDiff(), 'htmlhelper' => new HtmlHelper(), ) );