Skip to content

Commit 6a25bd3

Browse files
Merge pull request #29 from helsingborg-stad/fix/always-allow-customer-feedback
fix: always allow customer feedback
2 parents 407cb43 + fc0edfc commit 6a25bd3

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

Diff for: source/php/Form.php

-4
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,6 @@ public function appendForm()
3434

3535
$postExtended = get_extended($post->post_content);
3636

37-
if (empty($postExtended['main']) || (strpos($post->post_content, '<!--more-->') !== false && empty($postExtended['extended']))) {
38-
return;
39-
}
40-
4137
$mainQuestion = __('Did the information on this page help you?', 'customer-feedback');
4238
if (!empty(get_field('customer_feedback_main_question_text', 'option'))) {
4339
$mainQuestion = get_field('customer_feedback_main_question_text', 'option');

0 commit comments

Comments
 (0)