Commit 6d7a0d08 authored by Stephane Bouvry's avatar Stephane Bouvry
Browse files

Fix : Erreur d'affichage du type d'activité dans certains cas précis

parent 58efa5c7
Loading
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -33,15 +33,15 @@ class ActivityTypeHelper extends AbstractHtmlElement implements ServiceLocatorAw
                array_shift($types);
            }
            if( count($types) > 1 ){
                $label = $types[1];
                $label = $types[count($types)-1];

            } else {
                $label = $types[count($types)-1];
                $label = $types[0];
            }

            $title = implode(' / ', $types);

            return sprintf('<span title="%s">%s</span>', implode(' / ', $types), $label);
            return sprintf('<span title="%s">%s</span>', $title, $label);
        }
    }
}
 No newline at end of file