From: Florent Bruneau Date: Fri, 18 Feb 2011 21:25:47 +0000 (+0100) Subject: Fix PHP error on wiki pages (Closes #1386). X-Git-Tag: xorg/1.1.0~1^2~16 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=bfa466a8ecf2b9c9e3c702e5ff7c993685c95754;p=platal.git Fix PHP error on wiki pages (Closes #1386). I *hate* pmwiki. Signed-off-by: Florent Bruneau --- diff --git a/include/wiki/farmconfig.php b/include/wiki/farmconfig.php index a4fef9d..243d2d8 100644 --- a/include/wiki/farmconfig.php +++ b/include/wiki/farmconfig.php @@ -20,7 +20,7 @@ $Skin = 'empty'; @include_once("$FarmD/cookbook/e-protect.php"); include_once($FarmD.'/scripts/xlpage-utf-8.php'); -ResolvePageName(); +$pagename = ResolvePageName($pagename); if ($action == 'rss' || $action == 'atom' || $action == 'rdf' || $action == 'dc') { $FmtPV['$MarkupExcerpt'] = '$page["text"]';