cvs: php-bugs-web / report.php

From: Date: Thu, 12 Feb 2009 22:19:32 +0000
Subject: cvs: php-bugs-web / report.php
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-3821@lists.php.net to get a copy of this message
philip Thu Feb 12 22:19:32 2009 UTC Modified files: /php-bugs-web report.php Log: Allow passing in manpage to repcode (e.g., report.php?manpage=/manual/en/foo.php) http://cvs.php.net/viewvc.cgi/php-bugs-web/report.php?r1=1.74&r2=1.75&diff_format=u Index: php-bugs-web/report.php diff -u php-bugs-web/report.php:1.74 php-bugs-web/report.php:1.75 --- php-bugs-web/report.php:1.74 Thu Feb 12 22:11:38 2009 +++ php-bugs-web/report.php Thu Feb 12 22:19:32 2009 @@ -222,6 +222,11 @@ // Allow passing in a default bug_type (e.g., report.php?bug_type=Documentation+problem) $default_bug_type = isset($_GET['bug_type']) ? clean($_GET['bug_type']) : ''; + + // Allow passing in manpage to repcode (e.g., report.php?manpage=/manual/en/foo.php) + if (isset($_GET['manpage'])) { + $in['repcode'] .= "\n---\nFrom manual page: " . clean($_GET['manpage']) . "\n---\n"; + } ?> <p>Before you report a bug, make sure to search for similar bugs using the form

« previous php.webmaster (#3821) next »