aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Alexis Degrugillier <github@ainw.org> 2014-03-07 21:11:46 -0500
committerGravatar Alexis Degrugillier <github@ainw.org> 2014-03-07 21:11:46 -0500
commit90c840d8f1977c6e7d5117fff24c7daf6af3c951 (patch)
tree09926b699211f86a3aa71ea52f0bc77d161d3df4
parent1fea1277d6dffd6b71a78c33a53422ce1282de9a (diff)
Add a test to avoid warnings in log
-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>