Skip to content

Commit

Permalink
Fix 'Array to string conversion' notice when generating search index
Browse files Browse the repository at this point in the history
  • Loading branch information
Andy committed Mar 1, 2017
1 parent 10fad71 commit 43013cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion datatypes/xrowmetadata/xrowmetadatatype.php
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ function objectAttributeContent( $attribute )
function metaData( $attribute )
{
$meta = self::fetchMetaData( $attribute );
return $meta->title .' '. $meta->keywords.' '. $meta->description;
return $meta->title.' '.implode(' ', $meta->keywords).' '.$meta->description;
}

/*!
Expand Down

0 comments on commit 43013cd

Please sign in to comment.