diff options
Diffstat (limited to 'views/admin/licence.phtml')
| -rw-r--r-- | views/admin/licence.phtml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/views/admin/licence.phtml b/views/admin/licence.phtml index b4fbec5..2577736 100644 --- a/views/admin/licence.phtml +++ b/views/admin/licence.phtml @@ -6,7 +6,7 @@ $wpsg_update_data = wpsg_get_update_data();
- if (!is_array($wpsg_update_data) || !current_user_can('wpsg_lizence')) die();
+ if (!is_array($wpsg_update_data) || !current_user_can('wpsg_lizence') || !wpsg_isSizedInt($wpsg_update_data['returnCode'])) die();
?>
@@ -215,8 +215,8 @@ <?php echo __('enthalten', 'wpsg'); ?>
<?php } else { ?>
- <?php if (wpsg_isSizedString($modul_info['url_shop'])) { ?>
- <a href="<?php echo $modul_info['url_shop']; ?>" target="_blank"><?php echo __('Modulcode erwerben', 'wpsg'); ?></a>
+ <?php if (wpsg_isSizedString($modul_info['shop_url'])) { ?>
+ <a href="<?php echo $modul_info['shop_url']; ?>" target="_blank"><?php echo __('Modulcode erwerben', 'wpsg'); ?></a>
<?php } else { ?>
<a href="https://shop.maennchen1.de" target="_blank"><?php echo __('Modulcode erwerben', 'wpsg'); ?></a>
<?php } ?>
|
