summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortravis%sedsystems.ca <>2005-01-08 06:10:00 +0100
committertravis%sedsystems.ca <>2005-01-08 06:10:00 +0100
commit36578f08635486493875b248b5ef458d5cf888a4 (patch)
treebd2fcde18c3a40617be3e24b8840ebe12a675785
parente2466aae1fda4c2ce67c517074fdc4369d68b848 (diff)
downloadbugzilla-36578f08635486493875b248b5ef458d5cf888a4.tar.gz
bugzilla-36578f08635486493875b248b5ef458d5cf888a4.tar.xz
Bug 276913: Uninitialized value message from CGI.pl line 176
Patch: LpSolit@netscape.net r=mkanat a=justdave
-rw-r--r--CGI.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/CGI.pl b/CGI.pl
index 163c83a56..c1a9259bd 100644
--- a/CGI.pl
+++ b/CGI.pl
@@ -173,7 +173,7 @@ sub ValidateBugID {
FetchOneColumn()
|| ThrowUserError("invalid_bug_id_non_existent", {'bug_id' => $id});
- return if ($field eq "dependson" || $field eq "blocked");
+ return if (defined $field && ($field eq "dependson" || $field eq "blocked"));
return if Bugzilla->user->can_see_bug($id);