Fix for fatal error and naming convention applied
[mailer.git] / inc / modules / member / what-html_mail.php
index 0695f2a3b7ff239921643d6fc5c45e5fbca8bc7e..0e19e054a65b8fbda7d1381a52cad448a13970e6 100644 (file)
@@ -51,7 +51,7 @@ if (!defined('__SECURITY')) {
 ADD_DESCR('member', __FILE__);
 
 // Class was found and loaded
-if (IS_FORM_SENT()) {
+if (isFormSent()) {
        // Save settings
        SQL_QUERY_ESC("UPDATE `{!_MYSQL_PREFIX!}_user_data` SET `html`='%s' WHERE userid=%s LIMIT 1",
        array(REQUEST_POST('html'), getUserId()), __FILE__, __LINE__);