From 78603128a56be87b2495953400960e782404f0b6 Mon Sep 17 00:00:00 2001 From: Filip Penkava Date: Wed, 15 Mar 2017 10:16:48 +0100 Subject: [PATCH] fix WSP-66 --- autoload.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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') {