]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-admin_add.php
Fix for fatal error and naming convention applied
[mailer.git] / inc / modules / admin / what-admin_add.php
index 3bb45b511fb9d34631daad763e20755fbb7eebb3..18a9dcfdeeb81cc4ac94964359ca10cf7a652ce9 100644 (file)
@@ -46,11 +46,11 @@ if ((!defined('__SECURITY')) || (!IS_ADMIN())) {
 ADD_DESCR('admin', __FILE__);
 
 // Check if the admin has entered title and what-php file name...
-if (((!REQUEST_ISSET_POST(('title'))) || (!REQUEST_ISSET_POST(('menu'))) || (!REQUEST_ISSET_POST(('descr')))) && (IS_FORM_SENT())) {
+if (((!REQUEST_ISSET_POST(('title'))) || (!REQUEST_ISSET_POST(('menu'))) || (!REQUEST_ISSET_POST(('descr')))) && (isFormSent())) {
        REQUEST_UNSET_POST('ok');
 }
 
-if (!IS_FORM_SENT())
+if (!isFormSent())
 {
        // Create arrays
        $menus = array(); $titles = array(); $below = array();