Commit: 1a205c9fd8dc31688dbce750e21ac93564a5961d Author: Christoph M. Becker <[email protected]> Fri, 30 Sep 2016 12:59:58 +0200 Parents: ad7021a59ee6e30e3e9408f441a0fe2d9ef4018b Branches: master
Link: http://git.php.net/?p=web/wiki.git;a=commitdiff;h=1a205c9fd8dc31688dbce750e21ac93564a5961d Log: Fix bug in phplinks plugin, where the bugid didn't get properly assigned Changed paths: M dokuwiki/lib/plugins/phplinks/syntax.php Diff: diff --git a/dokuwiki/lib/plugins/phplinks/syntax.php b/dokuwiki/lib/plugins/phplinks/syntax.php index 7e9009f..04411db 100644 --- a/dokuwiki/lib/plugins/phplinks/syntax.php +++ b/dokuwiki/lib/plugins/phplinks/syntax.php @@ -68,7 +68,7 @@ class syntax_plugin_phplinks extends DokuWiki_Syntax_Plugin preg_match('/\[\[([-a-z]+)\@(\d+)\|?([^\]]*)\]\]/', $match, $matches); if ($matches[1] == 'bugid') { $name = $matches[3] ? $matches[3] : 'bug #' . $matches[2]; - $url = 'http://bugs.php.net/bug.php?id=' . $matches[1]; + $url = 'http://bugs.php.net/bug.php?id=' . $matches[2]; } else { $name = $matches[3] ? $matches[3] : 'ml#' . $matches[2]; $url = 'http://marc.info/?l=' . $matches[1] . '&m=' . $matches[2]; -- PHP Webmaster List Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
