summaryrefslogtreecommitdiff
path: root/views/mods/mod_statistics
diff options
context:
space:
mode:
authorhartmut <noreply@maennchen1.de>2016-11-01 12:18:55 +0000
committerhartmut <noreply@maennchen1.de>2016-11-01 12:18:55 +0000
commit2094d675daa9d316ee3987bbcae156af88ed08d7 (patch)
tree41993a45ed69b22df9f3a01701188a5977005c49 /views/mods/mod_statistics
parent8e30745d2d58cd1078df00d1f587de27f4588033 (diff)
Anpassungen Shop V3 an V4
git-svn-id: https://[internal]/wordpress/plugins/wpsg4@5877 0d5edaf7-2b12-4e95-93f4-047927463d4b
Diffstat (limited to 'views/mods/mod_statistics')
-rw-r--r--views/mods/mod_statistics/admin_setcapabilities.phtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/mods/mod_statistics/admin_setcapabilities.phtml b/views/mods/mod_statistics/admin_setcapabilities.phtml
index cf31ee6..a015b7e 100644
--- a/views/mods/mod_statistics/admin_setcapabilities.phtml
+++ b/views/mods/mod_statistics/admin_setcapabilities.phtml
@@ -12,7 +12,7 @@
<?php foreach ($arRoles as $role_key => $r) { ?>
<td class="wpsg_col_cap">
<input type="hidden" name="wpsg_cap[<?php echo $role_key; ?>][wpsg_statistics]" value="0" />
- <input type="checkbox" <?php echo (($r['capabilities']['wpsg_statistics'] == "1")?'checked="checked"':''); ?> name="wpsg_cap[<?php echo $role_key; ?>][wpsg_statistics]" value="1" />
+ <input type="checkbox" <?php echo ((isset($r['capabilities']['wpsg_statistics']))?'checked="checked"':''); ?> name="wpsg_cap[<?php echo $role_key; ?>][wpsg_statistics]" value="1" />
</td>
<?php } ?>
<td></td>