Commit c812b4e0 authored by Stephane Bouvry's avatar Stephane Bouvry
Browse files

Merge branch 'master' of git.unicaen.fr:open-source/oscar into starling

parents 74ba6324 6d7a0d08
Loading
Loading
Loading
Loading
Loading
+3 −3
Changes for module/Oscar/src/Oscar/View/Helpers/ActivityTypeHelper.php: 3 added lines, 3 removed lines.
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