Skip to content

Commit

Permalink
fix(target): do not mention the absence of an uploaded document in ta…
Browse files Browse the repository at this point in the history
…rgets
  • Loading branch information
btry committed Nov 15, 2017
1 parent a973f7b commit f1ac36b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/targetbase.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -778,7 +778,7 @@ protected function parseTags($content, PluginFormcreatorForm_Answer $formanswer,
// keep the ID of the document
$this->attachedDocuments[$value] = true;
} else {
$content = str_replace('##answer_' . $id . '##', __('No document', 'formcreator'), $content);
$content = str_replace('##answer_' . $id . '##', '', $content);
}
}
}
Expand Down

0 comments on commit f1ac36b

Please sign in to comment.