diff options
author | lpsolit%gmail.com <> | 2005-10-12 09:08:54 +0000 |
---|---|---|
committer | lpsolit%gmail.com <> | 2005-10-12 09:08:54 +0000 |
commit | 2ecd676f8e8154f6364a3a158013250695ed9251 (patch) | |
tree | a5444c151d610a2d8a4751b4ffde88739624a259 /process_bug.cgi | |
parent | Bug 303699: Eliminate deprecated Bugzilla::DB routines from userprefs.cgi - P... (diff) | |
download | bugzilla-2ecd676f8e8154f6364a3a158013250695ed9251.tar.gz bugzilla-2ecd676f8e8154f6364a3a158013250695ed9251.tar.bz2 bugzilla-2ecd676f8e8154f6364a3a158013250695ed9251.zip |
Bug 306325: Move CanEnterProduct() and CanEnterProductOrWarn() out of globals.pl - Patch by Frédéric Buclin <LpSolit@gmail.com> r=joel r=wicked a=justdave
Diffstat (limited to 'process_bug.cgi')
-rwxr-xr-x | process_bug.cgi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/process_bug.cgi b/process_bug.cgi index af3ebc977..9362af4a8 100755 --- a/process_bug.cgi +++ b/process_bug.cgi @@ -279,7 +279,7 @@ if (((defined $cgi->param('id') && $cgi->param('product') ne $oldproduct) $dbh->sql_limit(1), undef, $prod); - if ($check_can_enter) { CanEnterProductOrWarn($prod) } + if ($check_can_enter) { $user->can_enter_product($prod, 1) } # note that when this script is called from buglist.cgi (rather # than show_bug.cgi), it's possible that the product will be changed |