diff --git a/autoload.php b/autoload.php index c30c76d..2e2919b 100644 --- a/autoload.php +++ b/autoload.php @@ -118,8 +118,10 @@ if ($obj['type'] == 'text') { } else { $author_id = $authorExist->user_id; } - } else { + } elseif ($settings['author-byline'] == 'on') { $author_id = $settings['author']; + } else { + $author_id = 0; } if ($settings['convert-keywords'] && $settings['convert-keywords'] == 'on') {