summaryrefslogtreecommitdiffstats
path: root/template/en/default
diff options
context:
space:
mode:
authorgerv%gerv.net <>2003-11-08 09:25:21 +0100
committergerv%gerv.net <>2003-11-08 09:25:21 +0100
commit7654b510a59a829d15798337ab4cc87a860013c9 (patch)
treebb97d819f4a0fc0bf25cd72844d4f8738c3c5b16 /template/en/default
parent496759fb381fc81832abfd9dd75f9dd29ae0ca3a (diff)
downloadbugzilla-7654b510a59a829d15798337ab4cc87a860013c9.tar.gz
bugzilla-7654b510a59a829d15798337ab4cc87a860013c9.tar.xz
Bug 222564 - The chart made when creating a new Product/Component is not public. Patch by gerv; r=kiko, a=justdave.
Diffstat (limited to 'template/en/default')
-rw-r--r--template/en/default/reports/create-chart.html.tmpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/template/en/default/reports/create-chart.html.tmpl b/template/en/default/reports/create-chart.html.tmpl
index fe0b4a76c..441bd9b06 100644
--- a/template/en/default/reports/create-chart.html.tmpl
+++ b/template/en/default/reports/create-chart.html.tmpl
@@ -123,7 +123,7 @@ function subcatSelected() {
<td>
[% IF series.creator != 0 %]
- [% IF series.subscribed %]
+ [% IF series.isSubscribed(user.id) %]
<input type="submit" value="Unsubscribe" style="width: 12ex;"
name="action-unsubscribe[% series.series_id %]">
[% ELSE %]
@@ -134,7 +134,7 @@ function subcatSelected() {
</td>
<td align="center">
- [% IF user.userid == series.creator OR UserInGroup("admin") %]
+ [% IF user.id == series.creator OR UserInGroup("admin") %]
<a href="chart.cgi?action=edit&series_id=
[% series.series_id %]">Edit</a>
[% END %]