Fix redirection after feed refresh

Fix https://github.com/FreshRSS/FreshRSS/issues/716
pull/748/merge
Marien Fressinaud 10 years ago
parent a596385343
commit 70c1f0ebb0
  1. 5
      app/Controllers/feedController.php

@ -392,8 +392,9 @@ class FreshRSS_feed_Controller extends Minz_ActionController {
// Redirect to the main page with correct notification.
if ($updated_feeds === 1) {
$feed = reset($feeds);
Minz_Request::good(_t('feed_actualized', $feed->name()),
array('get' => 'f_' . $feed->id()));
Minz_Request::good(_t('feed_actualized', $feed->name()), array(
'params' => array('get' => 'f_' . $feed->id())
));
} elseif ($updated_feeds > 1) {
Minz_Request::good(_t('n_feeds_actualized', $updated_feeds), array());
} else {

Loading…
Cancel
Save