From 0ce44681395c0a6ef5d8a54caa8aca73728b3b25 Mon Sep 17 00:00:00 2001 From: "mkanat%kerio.com" <> Date: Tue, 15 Mar 2005 13:20:47 +0000 Subject: Bug 285534: bugs.qa_contact should allow NULL Patch By Max Kanat-Alexander r=joel, a=justdave --- globals.pl | 1 + 1 file changed, 1 insertion(+) (limited to 'globals.pl') diff --git a/globals.pl b/globals.pl index 6e0ebd774..ec7d39693 100644 --- a/globals.pl +++ b/globals.pl @@ -595,6 +595,7 @@ sub ValidatePassword { sub DBID_to_name { my ($id) = (@_); + return "__UNKNOWN__" if !defined $id; # $id should always be a positive integer if ($id =~ m/^([1-9][0-9]*)$/) { $id = $1; -- cgit v1.2.3-24-g4f1b