From e15dcf488f8bbf1fef2cd0a7001385f7a95e8d59 Mon Sep 17 00:00:00 2001 From: Frédéric Buclin Date: Wed, 17 Aug 2011 00:45:22 +0200 Subject: Bug 678970: Use $user and $cgi instead of Bugzilla->user and Bugzilla->cgi r=timello a=LpSolit --- enter_bug.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'enter_bug.cgi') diff --git a/enter_bug.cgi b/enter_bug.cgi index fc02aa86e..497209df4 100755 --- a/enter_bug.cgi +++ b/enter_bug.cgi @@ -267,7 +267,7 @@ if ($cloned_bug_id) { $vars->{'comment'} = ""; $vars->{'comment_is_private'} = 0; - if (!$isprivate || Bugzilla->user->is_insider) { + if (!$isprivate || $user->is_insider) { # We use "body" to avoid any format_comment text, which would be # pointless to clone. $vars->{'comment'} = $bug_desc->body; -- cgit v1.2.3-24-g4f1b