summaryrefslogtreecommitdiffstats
path: root/template/en/default/reports
diff options
context:
space:
mode:
Diffstat (limited to 'template/en/default/reports')
-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 %]