diff --git a/app/clients_dml.php b/app/clients_dml.php index f6af85d..ffcf444 100644 --- a/app/clients_dml.php +++ b/app/clients_dml.php @@ -428,7 +428,7 @@ function clients_form($selected_id = '', $AllowUpdate = 1, $AllowInsert = 1, $Al if(!$dvprint) $templateCode = str_replace('<%%VALUE(website)%%>', html_attr($row['website']), $templateCode); $templateCode = str_replace('<%%URLVALUE(website)%%>', urlencode($urow['website']), $templateCode); if($AllowUpdate || $AllowInsert) { - $templateCode = str_replace('<%%HTMLAREA(comments)%%>', '', $templateCode); + $templateCode = str_replace('<%%HTMLAREA(comments)%%>', '', $templateCode); } else { $templateCode = str_replace('<%%HTMLAREA(comments)%%>', '
' . $row['comments'] . '
', $templateCode); }