From 21c99d53f4c4aea2f90bd6b8b5034e8e8e042891 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Wed, 12 Oct 2005 03:25:40 +0000 Subject: [PATCH] r543: $lang scope --- includes/functions.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/includes/functions.php b/includes/functions.php index db2de4c..c28af4e 100755 --- a/includes/functions.php +++ b/includes/functions.php @@ -33,10 +33,12 @@ function fetch_user_display_name(&$userinfo) // key vars are used when you need to get data out of the $label array function construct_option_select($name, $array, $selected = 0, $valuekey = '', $labelkey = '', $includenil = false) { + global $bugsys; + // if we're not working on a boolean false, we use it for the value (allows -1 and 0) if ($includenil !== false) { - $opts[] = ''; + $opts[] = ''; } foreach ($array AS $value => $label) { -- 2.22.5