php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #53189
Patch add-link-to-manualpage revision 2010-10-28 09:33 UTC by RQuadling at GMail dot com

Patch add-link-to-manualpage for Website problem Bug #53189

Patch version 2010-10-28 09:33 UTC

Return to Bug #53189 | Download this patch
Patch Revisions:

Developer: RQuadling@GMail.com

Index: report.php
===================================================================
--- report.php	(revision 304964)
+++ report.php	(working copy)
@@ -306,10 +306,10 @@
 
 	$_POST['in'] = array(
 			 'package_name' => '',
-			 'bug_type' => '',
+			 'bug_type' => isset($_GET['bug_type']) ? clean($_GET['bug_type']) : '',
 			 'email' => '',
 			 'sdesc' => '',
-			 'ldesc' => '',
+			 'ldesc' => isset($_GET['manpage']) ? clean("\n---\nFrom manual page: http://www.php.net/" . ltrim($_GET['manpage'], '/') . "\n---\n") : '',
 			 'repcode' => '',
 			 'expres' => '',
 			 'actres' => '',
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Thu Oct 08 09:00:02 2026 UTC