cvs: pearweb /public_html/bugs patch-display.php
| From: | Helgi �ormar �orbj�rnsson | Date: | Sat, 05 Apr 2008 22:58:46 +0000 |
| Subject: | cvs: pearweb /public_html/bugs patch-display.php | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-core+get-7437@lists.php.net to get a copy of this message | ||
dufuz Sat Apr 5 22:58:46 2008 UTC
Modified files:
/pearweb/public_html/bugs patch-display.php
Log:
use bug_id in the urls to be more consitent
http://cvs.php.net/viewvc.cgi/pearweb/public_html/bugs/patch-display.php?r1=1.14&r2=1.15&diff_format=u
Index: pearweb/public_html/bugs/patch-display.php
diff -u pearweb/public_html/bugs/patch-display.php:1.14
pearweb/public_html/bugs/patch-display.php:1.15
--- pearweb/public_html/bugs/patch-display.php:1.14 Sat Mar 29 23:58:26 2008
+++ pearweb/public_html/bugs/patch-display.php Sat Apr 5 22:58:46 2008
@@ -1,15 +1,15 @@
<?php
require 'include/functions.inc';
-if (!isset($_GET['bug'])) {
+if (!isset($_GET['bug_id'])) {
response_header('Error :: no bug selected');
- report_error('No bug selected to add a patch to');
+ report_error('No patch selected to view');
response_footer();
exit;
}
$revision = $_GET['revision'];
$patch = $_GET['patch'];
-$bug_id = (int)$_GET['bug'];
+$bug_id = (int)$_GET['bug_id'];
require 'bugs/patchtracker.php';
$patchinfo = new Bugs_Patchtracker;