:+1:

Mit freundlichen Grüßen

Maximilian Berghoff


---------------------------------------
Maximilian Berghoff
Wiesenstraße 44
91617 Oberdachstetten 

Mail: Maximilian.berghoff@gmx.de
Mobile: +49 151 84625096

> On 29.03.2014, at 13:34, David Buchmann <notifications@github.com> wrote:
> 
> In Model/SeoPresentation.php:
> 
> > @@ -191,8 +186,8 @@ private function createKeywords($contentKeywords)
> >      {
> >          $metas = $this->sonataPage->getMetas();
> >          $sonataKeywords = isset($metas['names']['keywords'][0])
> > -                           ? $metas['names']['keywords'][0]
> > -                           : '';
> > +           ? $metas['names']['keywords'][0]
> > +           : '';
> >  
> >          return ('' !== $sonataKeywords ? $sonataKeywords.', ' : '') . $contentKeywords;
> we could do
> 
> if ($sonataKeywords && $contentKeywords) {
>     $sonataKeywords .= ', ';
> }
> 
> return $sonataKeywords . $contentKeywords;
> (the content keywords might be empty too, then we would create a trailing comma.
> 
> —
> Reply to this email directly or view it on GitHub.