Skip to content

Commit f1ac36b

Browse files
committed
fix(target): do not mention the absence of an uploaded document in targets
1 parent a973f7b commit f1ac36b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

inc/targetbase.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -778,7 +778,7 @@ protected function parseTags($content, PluginFormcreatorForm_Answer $formanswer,
778778
// keep the ID of the document
779779
$this->attachedDocuments[$value] = true;
780780
} else {
781-
$content = str_replace('##answer_' . $id . '##', __('No document', 'formcreator'), $content);
781+
$content = str_replace('##answer_' . $id . '##', '', $content);
782782
}
783783
}
784784
}

0 commit comments

Comments
 (0)