diff --git a/library/Class/Article.php b/library/Class/Article.php
index 0c84579bd51f52d5c1980e07cbe9fb7523cfda0e..e8327beffd025f4d5c515078cebd32cc8f9676e9 100644
--- a/library/Class/Article.php
+++ b/library/Class/Article.php
@@ -165,12 +165,12 @@ class ArticleLoader extends Storm_Model_Loader {
    */
   protected function _orderAndLimit() {
     if ($this->_sort_order == 'CommentCount') {
-        $this->_select
-          ->join('cms_rank',
-                 'cms_rank.ID_CMS = cms_article.ID_ARTICLE',
-                 [])
-          ->order('(cms_rank.abon_nombre_avis + cms_rank.bib_nombre_avis) desc');
-        return $this;
+      $this->_select
+        ->join('cms_rank',
+               'cms_rank.ID_CMS = cms_article.ID_ARTICLE',
+               [])
+        ->order('(cms_rank.abon_nombre_avis + cms_rank.bib_nombre_avis) desc');
+      return $this;
     }
 
 
@@ -275,12 +275,10 @@ class ArticleLoader extends Storm_Model_Loader {
     foreach ($custom_fields as $id => $value) {
       $this->_select
         ->join(
-          [ "cfv$id" => 'custom_field_values' ],
-          "cms_article.ID_ARTICLE = cfv$id.model_id AND cfv$id.custom_field_id = $id",
-          []
+               [ "cfv$id" => 'custom_field_values' ],
+               "cms_article.ID_ARTICLE = cfv$id.model_id AND cfv$id.custom_field_id = $id",
+               []
         );
-//      $this->_select
-//        ->where(" cfv$id.value = ? ", $value);
     }
 
     return $this;
@@ -350,7 +348,6 @@ class ArticleLoader extends Storm_Model_Loader {
       ->_publishedNow()
       ->_byIdBib($this->_id_bib)
       ->_byIdLieu($this->_id_lieu)
-//      ->_byCustomFields($this->_custom_fields)
       ->_whereSelectionIn($this->_id_articles, $this->_id_categories)
       ->_whereEventDateIn($this->_event_date)
       ->_whereEventStartAfter($this->_event_start_after)
@@ -362,14 +359,14 @@ class ArticleLoader extends Storm_Model_Loader {
 
 
     $articles = $this->_sortArticles(
-                  $this->_filterByCustomFields(
-                    Class_Article::getLoader()->findAll($select),
-                    $this->_custom_fields));
+                                     $this->_filterByCustomFields(
+                                                                  Class_Article::getLoader()->findAll($select),
+                                                                  $this->_custom_fields));
 
     if (
-      ($this->_sort_order == 'Selection')
-      or !$this->_nb_aff
-      )
+        ($this->_sort_order == 'Selection')
+        or !$this->_nb_aff
+    )
       return $articles;
 
     return array_slice($articles, 0, $this->_nb_aff);
@@ -398,7 +395,7 @@ class ArticleLoader extends Storm_Model_Loader {
                           }
                           return true;
                         }
-                        );
+    );
   }
 
 
@@ -768,12 +765,12 @@ class Class_Article extends Storm_Model_Abstract {
     $original = $this->isTraduction() ? $this->getArticleOriginal() : $this;
 
     return $this->getLoader()
-      ->newInstance()
-      ->setArticleOriginal($original)
-      ->setLangue($langue)
-      ->setTitre($original->getTitre())
-      ->setDescription($original->getDescription())
-      ->setContenu($original->getContenu());
+                ->newInstance()
+                ->setArticleOriginal($original)
+                ->setLangue($langue)
+                ->setTitre($original->getTitre())
+                ->setDescription($original->getDescription())
+                ->setContenu($original->getContenu());
   }
 
 
@@ -991,11 +988,11 @@ class Class_Article extends Storm_Model_Abstract {
     $otherattributes = '[^>]+';
     $inputtag = '<input';
     return preg_replace([ '/('.$inputtag.$otherattributes.')('.$typesubmit.$otherattributes.')'.$namesubmit.'/i',
-                          '/('.$inputtag.$otherattributes.')'.$namesubmit.'('.$otherattributes.$typesubmit.')/i',
-                          '/('.$inputtag.$otherattributes.')'.$typesubmit.'('.$otherattributes.')\/>/i' ],
+                         '/('.$inputtag.$otherattributes.')'.$namesubmit.'('.$otherattributes.$typesubmit.')/i',
+                         '/('.$inputtag.$otherattributes.')'.$typesubmit.'('.$otherattributes.')\/>/i' ],
                         [ '$1$2',
-                          '$1$2',
-                          '$1$2type="submit"/>'],
+                         '$1$2',
+                         '$1$2type="submit"/>'],
                         $replaced_form);
 
   }
@@ -1062,7 +1059,7 @@ class Class_Article extends Storm_Model_Abstract {
       $path = '.' . $path;
 
     if($this->getFileWriter()->fileExists($path))
-       return $path;
+      return $path;
 
     return '';
   }
@@ -1140,8 +1137,8 @@ class Class_Article extends Storm_Model_Abstract {
     $date = new DateTime();
 
     $this->setDebut($date->format('Y-m-d'))
-      ->setFin(null)
-      ->save();
+         ->setFin(null)
+         ->save();
   }
 
 
@@ -1150,8 +1147,8 @@ class Class_Article extends Storm_Model_Abstract {
     $date->modify('-1 day');
 
     $this->setDebut(null)
-      ->setFin($date->format('Y-m-d'))
-      ->save();
+         ->setFin($date->format('Y-m-d'))
+         ->save();
   }