diff options
author | Frédéric Buclin <LpSolit@gmail.com> | 2011-08-17 00:45:22 +0200 |
---|---|---|
committer | Frédéric Buclin <LpSolit@gmail.com> | 2011-08-17 00:45:22 +0200 |
commit | e15dcf488f8bbf1fef2cd0a7001385f7a95e8d59 (patch) | |
tree | 4a46e8d94f53faf98923ca7509704f5e1fdec541 /enter_bug.cgi | |
parent | 7a8598938d6976acb5f6bde6c86be8b65d1df8da (diff) | |
download | bugzilla-e15dcf488f8bbf1fef2cd0a7001385f7a95e8d59.tar.gz bugzilla-e15dcf488f8bbf1fef2cd0a7001385f7a95e8d59.tar.xz |
Bug 678970: Use $user and $cgi instead of Bugzilla->user and Bugzilla->cgi
r=timello a=LpSolit
Diffstat (limited to 'enter_bug.cgi')
-rwxr-xr-x | enter_bug.cgi | 2 |
1 files changed, 1 insertions, 1 deletions
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; |