diff --git a/htdocs/includes/boxes/box_external_rss.php b/htdocs/includes/boxes/box_external_rss.php index c07cc51bd22..b5bd6671314 100644 --- a/htdocs/includes/boxes/box_external_rss.php +++ b/htdocs/includes/boxes/box_external_rss.php @@ -69,11 +69,13 @@ class box_external_rss extends ModeleBoxes { if ($rss->ERROR) { // Affiche warning car il y a eu une erreur $title.=" ".img_error($langs->trans("FailedToRefreshDataInfoNotUpToDate",(isset($rss->date)?dolibarr_print_date($rss->date,"%d %b %Y %H:%M"):'unknown date'))); - $this->info_box_head = array('text' => $title); + $this->info_box_head = array('text' => $title,'limit' => 0); } - - $this->info_box_head = array('text' => $title); - + else + { + $this->info_box_head = array('text' => $title); + } + for($i = 0; $i < $max ; $i++){ $item = $rss->items[$i]; $href = $item['link']; diff --git a/htdocs/includes/boxes/modules_boxes.php b/htdocs/includes/boxes/modules_boxes.php index 17feea8e323..6cc7c1444b9 100644 --- a/htdocs/includes/boxes/modules_boxes.php +++ b/htdocs/includes/boxes/modules_boxes.php @@ -70,7 +70,8 @@ class ModeleBoxes // Affiche titre de la boite print '