From 11673ef2c5fa2314202d8cfe1de919792cb379e2 Mon Sep 17 00:00:00 2001 From: philipp Date: Sat, 3 Jul 2010 13:56:16 +0000 Subject: [PATCH] Undid commit r560 because the change was done to workaround a PHP bug that is fixed now (http://bugs.php.net/bug.php?id=50394). git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/trunk/extensions/wrreport@572 7aebc617-e5e2-0310-91dc-80fb5f6d2477 --- wrreport.body.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wrreport.body.php b/wrreport.body.php index a5f09df..70db62d 100644 --- a/wrreport.body.php +++ b/wrreport.body.php @@ -339,7 +339,7 @@ function bahnberichtformularParserHook($input, $args, $parser) { /// \brief Is called when the tag is encountered. /// /// The current page name is taken. -function bahnberichteParserHook($input, $args, $parser) { +function bahnberichteParserHook($input, $args, &$parser) { $page_title = $parser->getTitle()->getText(); $conditions = array('page_title' => $page_title, 'date_invalid > now()'); $order = 'date_report desc, date_entry desc'; @@ -353,7 +353,7 @@ function bahnberichteParserHook($input, $args, $parser) { /// /// * : The current page name is taken. /// * page_name: The given page name is taken. -function bahnbewertungParserHook($input, $args, $parser) { +function bahnbewertungParserHook($input, $args, &$parser) { $titleText = $input; if (!$titleText) $titleText = $parser->getTitle()->getText(); list($condition, $date) = wrReportConditionRender($titleText); @@ -394,7 +394,7 @@ function bahnbewertungParserHook($input, $args, $parser) { /// Kemater Alm /// Axamer Lizum /// -function bahnentabelleParserHook($input, $args, $parser) { +function bahnentabelleParserHook($input, $args, &$parser) { $page_titles = array(); foreach (explode("\n", $input) as $page_title) { $page_title = trim($page_title); -- 2.30.2