diff --git a/htdocs/soc.php b/htdocs/soc.php index d0203f401db..6d60c9ac2ed 100644 --- a/htdocs/soc.php +++ b/htdocs/soc.php @@ -309,7 +309,7 @@ else print ''; print ''; - print '
'; + print "
\n"; /* * */ diff --git a/htdocs/socnote.php b/htdocs/socnote.php index 24011da8b45..84d7397cbc6 100644 --- a/htdocs/socnote.php +++ b/htdocs/socnote.php @@ -22,7 +22,7 @@ */ require("./pre.inc.php"); -if ($HTTP_POST_VARS["action"] == 'add') { +if ($_POST["action"] == 'add') { $sql = "UPDATE ".MAIN_DB_PREFIX."societe SET note='$note' WHERE idp=$socid"; $result = $db->query($sql); } @@ -97,7 +97,7 @@ if ($socid > 0) { print "
"; print ''.nl2br($societe->note).''; print ""; - print ""; + print ""; print ''; }