Skip to content

Commit

Permalink
syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
FHenry committed Feb 11, 2015
1 parent 73f1d10 commit db94860
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions htdocs/core/class/html.formmail.class.php
Expand Up @@ -618,14 +618,12 @@ function get_form($addfileaction='addfile',$removefileaction='removefile')
$defaultmessage = dol_nl2br($defaultmessage);
}

if (dol_textishtml($defaultmessage) && $from_template) {
if (dol_textishtml($defaultmessage) && $from_template) {
$allow_content=1;
var_dump($allow_content);
} else {
$allow_content=0;
}


if (isset($_POST["message"])) $defaultmessage=$_POST["message"];
else
{
Expand Down

0 comments on commit db94860

Please sign in to comment.