diff options
| author | 2013-12-27 14:52:56 +0100 | |
|---|---|---|
| committer | 2013-12-27 14:52:56 +0100 | |
| commit | f52ccf7038199f1eb2f82d7e1f26d2a10caa867b (patch) | |
| tree | 7c8235198b6b587574b41175a167103d31740a9a /app/views/helpers/javascript_vars.phtml | |
| parent | 7b4451912e2a9008a49854a2496cf9bb99b7ed10 (diff) | |
| parent | b99979cef78f7cd0c1cb4ae81115d09881e85926 (diff) | |
Merge remote-tracking branch 'origin/dev' into beta
Diffstat (limited to 'app/views/helpers/javascript_vars.phtml')
| -rw-r--r-- | app/views/helpers/javascript_vars.phtml | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/app/views/helpers/javascript_vars.phtml b/app/views/helpers/javascript_vars.phtml index 0c1af45fc..d008e2e48 100644 --- a/app/views/helpers/javascript_vars.phtml +++ b/app/views/helpers/javascript_vars.phtml @@ -39,7 +39,8 @@ echo 'str_confirmation="', Minz_Translate::t('confirm_action'), '"', ",\n"; - echo 'auto_actualize_feeds=', Minz_Session::param('actualize_feeds', false) ? 'true' : 'false', ";\n"; - if (Minz_Session::param('actualize_feeds', false)) { - Minz_Session::_param('actualize_feeds'); + $autoActualise = Minz_Session::param('actualize_feeds', false); + echo 'auto_actualize_feeds=', $autoActualise ? 'true' : 'false', ";\n"; + if ($autoActualise) { + Minz_Session::_param('actualize_feeds', false); } |
