Commit:    546714cac1525ae844f2ad33eebad1f67110d197
Author:    Hannes Magnusson <[email protected]>         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>


--
PHP Webmaster List Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to