cvs: pearweb /public_html/bugs patch-add.php
| From: | Helgi �ormar �orbj�rnsson | Date: | Sun, 22 Mar 2009 23:26:30 +0000 |
| Subject: | cvs: pearweb /public_html/bugs patch-add.php | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-core+get-8281@lists.php.net to get a copy of this message | ||
dufuz Sun Mar 22 23:26:30 2009 UTC
Modified files:
/pearweb/public_html/bugs patch-add.php
Log:
fix the urls again
http://cvs.php.net/viewvc.cgi/pearweb/public_html/bugs/patch-add.php?r1=1.23&r2=1.24&diff_format=u
Index: pearweb/public_html/bugs/patch-add.php
diff -u pearweb/public_html/bugs/patch-add.php:1.23 pearweb/public_html/bugs/patch-add.php:1.24
--- pearweb/public_html/bugs/patch-add.php:1.23 Sun Mar 22 23:23:39 2009
+++ pearweb/public_html/bugs/patch-add.php Sun Mar 22 23:26:30 2009
@@ -175,13 +175,14 @@
if (!isset($buggie)) {
$patch_name = $_POST['name'];
$url =
'patch-display.php?bug=$bug&patch=$patch_name&revision=$e&display=1';
+ $bugurl ='http://' . PEAR_CHANNELNAME .
'/bugs/' . $url;
// Add a comment about this in the bug report
$text = <<<TXT
The following patch has been added/updated:
Patch Name: $patch_name
Revision: $e
-URL: $url
+URL: $bugurl
TXT;
$query = 'INSERT INTO bugdb_comments' .