summaryrefslogtreecommitdiffstats
path: root/docs/html/cust-change-permissions.html
diff options
context:
space:
mode:
Diffstat (limited to 'docs/html/cust-change-permissions.html')
-rw-r--r--docs/html/cust-change-permissions.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/html/cust-change-permissions.html b/docs/html/cust-change-permissions.html
index 465896d0b..3d240bc40 100644
--- a/docs/html/cust-change-permissions.html
+++ b/docs/html/cust-change-permissions.html
@@ -183,7 +183,7 @@ COLOR="#000000"
><PRE
CLASS="programlisting"
> if ($field eq "qacontact") {
- if (UserInGroup("quality_assurance")) {
+ if (Bugzilla-&#62;user-&#62;groups("quality_assurance")) {
return 1;
}
else {
@@ -208,7 +208,7 @@ COLOR="#000000"
><PRE
CLASS="programlisting"
> if (($field eq "priority") &#38;&#38;
- ($vars-&#62;{'user'}{'login'} =~ /.*\@example\.com$/))
+ (Bugzilla-&#62;user-&#62;email =~ /.*\@example\.com$/))
{
if ($oldvalue eq "P1") {
return 1;