Alexander Nicolaysen Sørnes : util: Don' t require default value in make_bugzilla_version_list()

Alexander Nicolaysen Sørnes asornes at winehq.org
Mon Oct 26 19:40:21 CDT 2009


Module: appdb
Branch: master
Commit: cfad26fc5afcdaadfa459f8d4a4b4db94f853040
URL:    http://source.winehq.org/git/appdb.git/?a=commit;h=cfad26fc5afcdaadfa459f8d4a4b4db94f853040

Author: Alexander Nicolaysen Sørnes <alexander at linux-xqqm.(none)>
Date:   Mon Oct 26 17:08:36 2009 +0100

util: Don't require default value in make_bugzilla_version_list()

---

 include/util.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/util.php b/include/util.php
index a8bce6c..7eba466 100644
--- a/include/util.php
+++ b/include/util.php
@@ -207,7 +207,7 @@ function get_bugzilla_version_ids()
 //             this is the name to use to retrieve the selection on the form postback
 // $sSelectedValue - the currently selected entry
 // returns a string that contains the version list output
-function make_bugzilla_version_list($sVarname, $sSelectedValue)
+function make_bugzilla_version_list($sVarname, $sSelectedValue = '')
 {
     $sStr = "";
 




More information about the wine-cvs mailing list