X-Git-Url: http://git.shiar.nl/minimedit.git/blobdiff_plain/b0b882940b3eb7edb6bd742fa4ff9f8ebbe7abba..801b58dafc2722ee8d8959649e6a1b77b28bf53e:/nieuws/index.php diff --git a/nieuws/index.php b/nieuws/index.php index d56758e..cf63a63 100644 --- a/nieuws/index.php +++ b/nieuws/index.php @@ -11,7 +11,7 @@ if (!empty($User['admin'])) { if ($page and !is_numeric($page)) { $edit = !empty($User['admin']) ? htmlspecialchars(@$_GET['edit']) : NULL; $article = new ArchiveArticle("$Page$Args.html"); - $Place['title'] = $article->title; + $Place['title'] = $edit ?: $article->title; $Place[1] = ' '.$article->date.''; print preg_replace('{(?<=

)(.*?)(?=

)}', ($edit ?: '\1').' [[1]]', ob_get_clean()); if ($article->file and $article->image) {