summaryrefslogtreecommitdiffstats
path: root/editusers.cgi
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2005-09-06 05:41:20 +0200
committerlpsolit%gmail.com <>2005-09-06 05:41:20 +0200
commit3223b9f1872063b0c1ba864880449e40c68d590d (patch)
tree53446ca60ec5aafe33236b979f24a8d57dc009a7 /editusers.cgi
parentd14f5d4e1330aa4efee97b7b83381619980a6819 (diff)
downloadbugzilla-3223b9f1872063b0c1ba864880449e40c68d590d.tar.gz
bugzilla-3223b9f1872063b0c1ba864880449e40c68d590d.tar.xz
Bug 304745: Move GetFieldID() out of globals.pl - Patch by Frédéric Buclin <LpSolit@gmail.com> r=wicked a=justdave
Diffstat (limited to 'editusers.cgi')
-rwxr-xr-xeditusers.cgi3
1 files changed, 2 insertions, 1 deletions
diff --git a/editusers.cgi b/editusers.cgi
index e6d4fffe8..ade2f0ca7 100755
--- a/editusers.cgi
+++ b/editusers.cgi
@@ -30,6 +30,7 @@ use Bugzilla::Flag;
use Bugzilla::Config;
use Bugzilla::Constants;
use Bugzilla::Util;
+use Bugzilla::Field;
Bugzilla->login(LOGIN_REQUIRED);
@@ -377,7 +378,7 @@ if ($action eq 'search') {
},
undef,
($otherUserID, $userid,
- GetFieldID('bug_group'),
+ get_field_id('bug_group'),
join(', ', @groupsRemovedFrom), join(', ', @groupsAddedTo)));
$dbh->do('UPDATE profiles SET refreshed_when=? WHERE userid = ?',
undef, ('1900-01-01 00:00:00', $otherUserID));