aboutsummaryrefslogtreecommitdiff
path: root/app/controllers
diff options
context:
space:
mode:
authorGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2013-04-11 21:27:29 +0200
committerGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2013-04-11 21:27:29 +0200
commite2171de4e6b090fbbad07d8852a068ec7ca050c0 (patch)
treee47188b3a589099d41125445bedfd39963d94b11 /app/controllers
parent61943f1661383bf8017b4c2a76fd11618e4adae0 (diff)
Fix issue #37 : possibilité de sortir un site du flux principal (utile pour les sites qui publient beaucoup)
Diffstat (limited to 'app/controllers')
-rwxr-xr-xapp/controllers/configureController.php4
-rwxr-xr-xapp/controllers/indexController.php4
2 files changed, 4 insertions, 4 deletions
diff --git a/app/controllers/configureController.php b/app/controllers/configureController.php
index 243c155f9..01ed4d414 100755
--- a/app/controllers/configureController.php
+++ b/app/controllers/configureController.php
@@ -88,10 +88,12 @@ class configureController extends ActionController {
if (Request::isPost () && $this->view->flux) {
$cat = Request::param ('category', 0);
$path = Request::param ('path_entries', '');
+ $priority = Request::param ('priority', 0);
$values = array (
'category' => $cat,
- 'pathEntries' => $path
+ 'pathEntries' => $path,
+ 'priority' => $priority
);
if ($feedDAO->updateFeed ($id, $values)) {
diff --git a/app/controllers/indexController.php b/app/controllers/indexController.php
index c83f7f1d2..1eba7231f 100755
--- a/app/controllers/indexController.php
+++ b/app/controllers/indexController.php
@@ -76,9 +76,7 @@ class indexController extends ActionController {
try {
$this->view->entryPaginator = $entryDAO->getPaginator ($entries);
- } catch (CurrentPagePaginationException $e) {
-
- }
+ } catch (CurrentPagePaginationException $e) { }
$this->view->cat_aside = $catDAO->listCategories ();
$this->view->nb_favorites = $entryDAO->countFavorites ();