com web/bugs: We need to pass the currently selected package_name to mark it as default value: www /report.php

From: Date: Thu, 31 Jul 2014 21:30:29 +0000
Subject: com web/bugs: We need to pass the currently selected package_name to mark it as default value: www /report.php
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-19592@lists.php.net to get a copy of this message
Commit: 546714cac1525ae844f2ad33eebad1f67110d197 Author: Hannes Magnusson <bjori@mongodb.com> Thu, 31 Jul 2014 14:30:29 -0700 Parents: 4717b268339e030068f89562e64ee98315e6be31 Branches: master Link: http://git.php.net/?p=web/bugs.git;a=commitdiff;h=546714cac1525ae844f2ad33eebad1f67110d197 Log: We need to pass the currently selected package_name to mark it as default value Changed paths: M www/report.php Diff: diff --git a/www/report.php b/www/report.php index 46123c7..6f289b9 100644 --- a/www/report.php +++ b/www/report.php @@ -428,7 +428,7 @@ display_bug_error($errors); <th class="form-label_left">Package affected:</th> <td class="form-input"> <select name="in[package_name]"> - <?php show_package_options(null, 0, htmlspecialchars($package)); ?> + <?php show_package_options($_POST['in']['package_name'], 0, htmlspecialchars($package)); ?> </select> </td> </tr>

« previous php.webmaster (#19592) next »