summaryrefslogtreecommitdiff
path: root/views/mods/mod_trustedshops/settings_edit.phtml
diff options
context:
space:
mode:
Diffstat (limited to 'views/mods/mod_trustedshops/settings_edit.phtml')
-rw-r--r--views/mods/mod_trustedshops/settings_edit.phtml3
1 files changed, 2 insertions, 1 deletions
diff --git a/views/mods/mod_trustedshops/settings_edit.phtml b/views/mods/mod_trustedshops/settings_edit.phtml
index 3a89a03..6f3712f 100644
--- a/views/mods/mod_trustedshops/settings_edit.phtml
+++ b/views/mods/mod_trustedshops/settings_edit.phtml
@@ -130,7 +130,8 @@
<div class="wpsg_form_field">
<div class="wpsg_form_left">&nbsp;</div>
<div class="wpsg_form_right wpsg_form_right_unit">
- <?php if (wpsg_isSizedArray($this->callMod('wpsg_mod_trustedshops', 'getExportData'))) { ?>
+ <?php $temp = $this->callMod('wpsg_mod_trustedshops', 'getExportData');
+ if (wpsg_isSizedArray($temp)) { ?>
<a target="_blank" onclick="location.href=location.href;" href="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Admin&action=module&modul=wpsg_mod_trustedshops&do=export&noheader=1" class="button"><?php echo __('CSV-Export-Datei erstellen', 'wpsg'); ?></a>
<?php } else { ?>
<p><?php echo __('Derzeit keine Daten zum Export verfügbar.', 'wpsg'); ?></p>