2
0
forked from Wavyzz/dolibarr

Fix duplicate include.

This commit is contained in:
Laurent Destailleur
2017-03-21 16:46:12 +01:00
parent b5e646daa0
commit a0fe79a113

View File

@@ -42,7 +42,7 @@ function dolMd2Html($content, $parser='parsedown',$replaceimagepath=null)
} }
if ($parser == 'parsedown') if ($parser == 'parsedown')
{ {
include DOL_DOCUMENT_ROOT.'/includes/parsedown/Parsedown.php'; include_once DOL_DOCUMENT_ROOT.'/includes/parsedown/Parsedown.php';
$Parsedown = new Parsedown(); $Parsedown = new Parsedown();
$content = $Parsedown->text($content); $content = $Parsedown->text($content);
} }