Fix for fatal error and naming convention applied
[mailer.git] / inc / modules / admin / what-edit_sponsor.php
index 64b052ff662f09f0f9c184c3c3c5cf8da517f7e7..cc1f7295d9a81e90de0d45afcc64223e9028d50a 100644 (file)
@@ -104,7 +104,7 @@ if ((REQUEST_ISSET_GET('id')) && (REQUEST_ISSET_GET(('mode')))) {
                INIT_SQLS();
 
                // Sponsor was found
-               if ((IS_FORM_SENT()) || (REQUEST_ISSET_POST('edit'))) {
+               if ((isFormSent()) || (REQUEST_ISSET_POST('edit'))) {
                        // Perform action on mode
                        switch (REQUEST_GET('mode'))
                        {