From 3bbbe87487ebb9802d458d68eb2fbb9173f1a736 Mon Sep 17 00:00:00 2001 From: "myk%mozilla.org" Date: Fri, 4 Apr 2008 06:50:49 +0000 Subject: [PATCH] Fix validation problem (unescaped ampersands) by making the program listing be CDATA. git-svn-id: svn://10.0.0.236/trunk@249277 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/webtools/bugzilla/docs/en/xml/customization.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mozilla/webtools/bugzilla/docs/en/xml/customization.xml b/mozilla/webtools/bugzilla/docs/en/xml/customization.xml index 67877f9ca84..c85505c1f04 100644 --- a/mozilla/webtools/bugzilla/docs/en/xml/customization.xml +++ b/mozilla/webtools/bugzilla/docs/en/xml/customization.xml @@ -584,7 +584,7 @@ } This says that only users in the group "quality_assurance" can change the QA Contact field of a bug. Getting more weird: - if (($field eq "priority") && + user->email =~ /.*\@example\.com$/)) { if ($oldvalue eq "P1") { @@ -593,7 +593,7 @@ else { return 0; } - } + }]]> This says that if the user is trying to change the priority field, and their email address is @example.com, they can only do so if the old value of the field was "P1". Not very useful, but illustrative.