From: philipp Date: Sun, 21 Mar 2010 16:08:33 +0000 (+0000) Subject: Removed the reference & from the function definitions so that the plugin works again. X-Git-Url: https://git.toastfreeware.priv.at/philipp/winterrodeln/mediawiki_extensions/wrreport.git/commitdiff_plain/1421f220d1b2c1238b4b17a1c57fcad8ecd111d9?ds=sidebyside Removed the reference & from the function definitions so that the plugin works again. git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/trunk/extensions/wrreport@560 7aebc617-e5e2-0310-91dc-80fb5f6d2477 --- diff --git a/wrreport.body.php b/wrreport.body.php index 70db62d..a5f09df 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);