diff options
| author | 2013-04-13 16:13:44 +0200 | |
|---|---|---|
| committer | 2013-04-13 16:13:44 +0200 | |
| commit | 9b8fab7b80052cc3bb11f860ad3efd85ad8950cd (patch) | |
| tree | 2896922b06efb1b3fffca76316f1b8fcadda889d /app/controllers/feedController.php | |
| parent | 650a04458a8733fb776f39bc7016444725b04dff (diff) | |
Filtre auto d'un flux lorsqu'on vient de l'actualiser seulement lui
Diffstat (limited to 'app/controllers/feedController.php')
| -rwxr-xr-x | app/controllers/feedController.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/controllers/feedController.php b/app/controllers/feedController.php index 73921e215..fb0f790fd 100755 --- a/app/controllers/feedController.php +++ b/app/controllers/feedController.php @@ -139,12 +139,14 @@ class feedController extends ActionController { $entryDAO->cleanOldEntries ($nb_month_old); // notif + $url = array (); if ($i == 1) { $feed = reset ($feeds); $notif = array ( 'type' => 'good', 'content' => '<em>' . $feed->name () . '</em> a été mis à jour' ); + $url['params'] = array ('get' => 'f_' . $feed->id ()); } elseif ($i > 0) { $notif = array ( 'type' => 'good', @@ -159,7 +161,7 @@ class feedController extends ActionController { if (Request::param ('ajax', 0) == 0) { Session::_param ('notification', $notif); - Request::forward (array (), true); + Request::forward ($url, true); } else { $notif = array ( 'type' => 'good', |
