com web/bugs: Fix #77355: Filing a ticket links to the Edit tab of potential duplicates: www/report.php
| From: | Christoph Michael Becker | Date: | Sat, 29 Dec 2018 17:05:23 +0000 |
| Subject: | com web/bugs: Fix #77355: Filing a ticket links to the Edit tab of potential duplicates: www/report.php | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-27632@lists.php.net to get a copy of this message | ||
Commit: 422f6e5c3e42770374289ac72a4a25ceca1b6c52
Author: Christoph M. Becker <cmbecker69@gmx.de> Thu, 27 Dec 2018 12:56:15 +0100
Parents: b78a07146df1fdf804df21688a98d98273f12b6b
Branches: master
Link: http://git.php.net/?p=web/bugs.git;a=commitdiff;h=422f6e5c3e42770374289ac72a4a25ceca1b6c52
Log:
Fix #77355: Filing a ticket links to the Edit tab of potential duplicates
We should link to the ticket generally, instead of the Edit tab.
Bugs:
https://bugs.php.net/77355
Changed paths:
M www/report.php
Diff:
diff --git a/www/report.php b/www/report.php
index 49fb1f9..b5e4ebe 100644
--- a/www/report.php
+++ b/www/report.php
@@ -127,7 +127,7 @@ if (isset($_POST['in'])) {
$summary = substr(trim($summary), 0, 256) . ' ...';
}
- $bug_url = "bug.php?id={$row['id']}&edit=2";
+ $bug_url = "bug.php?id={$row['id']}";
$sdesc = htmlspecialchars($row['sdesc']);
$summary = htmlspecialchars($summary);