fix - write context

This commit is contained in:
Filip Penkava
2017-06-08 07:10:47 +02:00
parent 406691a3f4
commit 3bbcde1760
2 changed files with 5 additions and 5 deletions

View File

@@ -93,7 +93,7 @@ if ($obj['type'] == 'text') {
if ($settings['author-byline'] && $settings['author-byline'] == 'on') {
$author_name = $obj['byline'];
if (!empty(trim($settings['byline-words']))) {
if (!empty($settings['byline-words'])) {
$replaceWords = explode(',', $settings['byline-words']);
foreach ($replaceWords as $value) {
$author_name = str_replace(trim($value) . " ", "", $author_name);