diff options
| author | 2014-08-09 15:26:12 +0200 | |
|---|---|---|
| committer | 2014-08-09 15:26:12 +0200 | |
| commit | c81be3c20aab4eb1773a0acd99d4aa5a9e30c4d6 (patch) | |
| tree | 0fe6028b7edb3ca8cdc2f7145b3046f4508d2b33 | |
| parent | 5490a190dae9e47286f0bba1a63656375bd43e25 (diff) | |
Fix problem token
Token was present in RSS url even without token value.
| -rw-r--r-- | app/layout/nav_menu.phtml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/layout/nav_menu.phtml b/app/layout/nav_menu.phtml index 29ea9032c..73a921c5d 100644 --- a/app/layout/nav_menu.phtml +++ b/app/layout/nav_menu.phtml @@ -221,7 +221,9 @@ <?php $url_output['params']['output'] = 'rss'; - $url_output['params']['token'] = $this->conf->token; + if ($this->conf->token) { + $url_output['params']['token'] = $this->conf->token; + } ?> <a class="view_rss btn" target="_blank" title="<?php echo Minz_Translate::t ('rss_view'); ?>" href="<?php echo Minz_Url::display($url_output); ?>"> <?php echo FreshRSS_Themes::icon('rss'); ?> |
