summaryrefslogtreecommitdiff
path: root/pages
diff options
context:
space:
mode:
authorMichael Tänzer <neo@nhng.de>2014-04-11 22:11:43 +0200
committerMichael Tänzer <neo@nhng.de>2014-04-11 22:11:43 +0200
commit4bf67d371ec0af60c23a8e4d843533edc0ece003 (patch)
tree732db1abcb66c7363bed3ae256fd3fd90bd69d47 /pages
parent0a6a55e932fc2a4cb89f75f8c41e71770b60d1a4 (diff)
downloadcacert-devel-4bf67d371ec0af60c23a8e4d843533edc0ece003.tar.gz
cacert-devel-4bf67d371ec0af60c23a8e4d843533edc0ece003.tar.xz
cacert-devel-4bf67d371ec0af60c23a8e4d843533edc0ece003.zip
bug 1138: properly display announcement settings on account history
Signed-off-by: Michael Tänzer <neo@nhng.de>
Diffstat (limited to 'pages')
-rw-r--r--pages/account/59.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/pages/account/59.php b/pages/account/59.php
index b4ec324..46e96be 100644
--- a/pages/account/59.php
+++ b/pages/account/59.php
@@ -132,15 +132,15 @@ if ($userid != $_SESSION['profile']['id']) {
</tr>
<tr>
<td class="DataTD"><?=_("Country Announcements")?>:</td>
- <td class="DataTD"><?= ($row['id']==0)? _('No'):_('Yes')?></td>
+ <td class="DataTD"><?= ($alerts['country']==0)? _('No'):_('Yes')?></td>
</tr>
<tr>
<td class="DataTD"><?=_("Regional Announcements")?>:</td>
- <td class="DataTD"><?= ($row['id']==0)? _('No'):_('Yes')?></td>
+ <td class="DataTD"><?= ($alerts['regional']==0)? _('No'):_('Yes')?></td>
</tr>
<tr>
<td class="DataTD"><?=_("Within 200km Announcements")?>:</td>
- <td class="DataTD"><?= ($row['id']==0)? _('No'):_('Yes')?></td>
+ <td class="DataTD"><?= ($alerts['radius']==0)? _('No'):_('Yes')?></td>
</tr>
</table>
<br/>