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-08 09:18:07 -0500
commitc2e9bfd0d7cddbadef272f2258b5fe1a5d1d26a6 (patch)
treeb6b3c024379467007c95dd307f25e4aed0f52f80
parentb0a3610db735c7f719e8c35d84ffdc5a4e4987af (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>