[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    www/areas/cvs-digest/enzyme
From:       Derek Kite <dkite () netidea ! com>
Date:       2005-06-25 7:34:10
Message-ID: 1119684850.302473.19940.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 428747 by dkite:

attempt to not match revision numbers as bug numbers

 M  +5 -2      enzyme_format.php  


--- trunk/www/areas/cvs-digest/enzyme/enzyme_format.php #428746:428747
@@ -113,9 +113,12 @@
 
 
 function bug_callback($matches)  {
-$this->buglist[] = $matches[2];
-return "$matches[1]<a \
href=\"http://bugs.kde.org/show_bug.cgi?id=$matches[2]\">$matches[2]</a>$matches[3]"; \
+if (!preg_match("/^4.*/",$matches[2])) { +  $this->buglist[] = $matches[2];
+  return "$matches[1]<a \
href=\"http://bugs.kde.org/show_bug.cgi?id=$matches[2]\">$matches[2]</a>$matches[3]"; \
} +return $matches[1] . $matches[2] . $matches[3];
+}
 
 
 function build_bugref($str) {


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic