aboutsummaryrefslogtreecommitdiff
path: root/app/views/configure
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2014-03-08 15:56:54 +0100
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2014-03-08 15:56:54 +0100
commitfaa9a74324942e9be4682067208e1ef3a8f332a7 (patch)
treeafbeafd9ae85211015873e2aa64c19f3a25358e2 /app/views/configure
parent859290ec1f79840db031da3af10f25792e98623d (diff)
parent20ebf987b4383921be5f3b7a0222a212aad138b9 (diff)
Merge pull request #447 from aledeg/share
Sharing optimization
Diffstat (limited to 'app/views/configure')
-rw-r--r--app/views/configure/sharing.phtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/configure/sharing.phtml b/app/views/configure/sharing.phtml
index b50e6ddc4..ddb404ef5 100644
--- a/app/views/configure/sharing.phtml
+++ b/app/views/configure/sharing.phtml
@@ -35,7 +35,7 @@
<a href='#' class='share add'><?php echo FreshRSS_Themes::icon('add'); ?></a>
<select>
<?php foreach($this->conf->shares as $key => $params):?>
- <option value='<?php echo $key?>' data-form='<?php echo $params['form']?>' data-help='<?php echo $params['help']?>'><?php echo Minz_Translate::t($key) ?></option>
+ <option value='<?php echo $key?>' data-form='<?php echo $params['form']?>' data-help='<?php if (!empty($params['help'])) {echo $params['help'];}?>'><?php echo Minz_Translate::t($key) ?></option>
<?php endforeach; ?>
</select>
</div>