fix WSP-66

This commit is contained in:
Filip Penkava
2017-03-15 10:16:48 +01:00
parent 82d8ae02df
commit 78603128a5

View File

@@ -118,8 +118,10 @@ if ($obj['type'] == 'text') {
} else { } else {
$author_id = $authorExist->user_id; $author_id = $authorExist->user_id;
} }
} else { } elseif ($settings['author-byline'] == 'on') {
$author_id = $settings['author']; $author_id = $settings['author'];
} else {
$author_id = 0;
} }
if ($settings['convert-keywords'] && $settings['convert-keywords'] == 'on') { if ($settings['convert-keywords'] && $settings['convert-keywords'] == 'on') {