aboutsummaryrefslogtreecommitdiff
path: root/app/controllers/feedController.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/feedController.php')
-rwxr-xr-xapp/controllers/feedController.php8
1 files changed, 6 insertions, 2 deletions
diff --git a/app/controllers/feedController.php b/app/controllers/feedController.php
index d2a2184eb..83fc19e20 100755
--- a/app/controllers/feedController.php
+++ b/app/controllers/feedController.php
@@ -156,9 +156,13 @@ class feedController extends ActionController {
'content' => 'Aucun flux n\'a pu être mis à jour'
);
}
- Session::_param ('notification', $notif);
- Request::forward (array (), true);
+ if (Request::param ('ajax', 0) == 0) {
+ Session::_param ('notification', $notif);
+ Request::forward (array (), true);
+ } else {
+ $this->view->_useLayout (false);
+ }
}
public function massiveImportAction () {