cvs: php-bugs-web / bug.php

From: Date: Sat, 21 Dec 2002 11:03:51 +0000
Subject: cvs: php-bugs-web / bug.php
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-14366@lists.php.net to get a copy of this message
derick Sat Dec 21 06:03:51 2002 EDT Modified files: /php-bugs-web bug.php Log: - Tweak bug linking Index: php-bugs-web/bug.php diff -u php-bugs-web/bug.php:1.41 php-bugs-web/bug.php:1.42 --- php-bugs-web/bug.php:1.41 Fri Dec 20 06:42:39 2002 +++ php-bugs-web/bug.php Sat Dec 21 06:03:51 2002 @@ -454,7 +454,7 @@ "</b>\n"; echo "<pre class=\"note\">"; $note = addlinks(preg_replace("/(\r?\n){3,}/","\n\n",wordwrap($comment,72,"\n",1))); - echo preg_replace('/#([0-9]+)/', "<a href=\"$PHP_SELF?id=\\1\">#\\1</a>", $note); + echo preg_replace('/(bug\ *#([0-9]+))/i', "<a href=\"$PHP_SELF?id=\\2\">\\1</a>", $note); echo "</pre>\n"; echo "</div>"; }

« previous php.mirrors (#14366) next »