]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-config_title.php
Fix for fatal error and naming convention applied
[mailer.git] / inc / modules / admin / what-config_title.php
index f1da62aea665cfeb487fecc736f0beca67eeb323..b490c12b3426886e575d0acb95bd29f119c91419 100644 (file)
@@ -45,13 +45,10 @@ if ((!defined('__SECURITY')) || (!IS_ADMIN())) {
 // Add description as navigation point
 ADD_DESCR('admin', __FILE__);
 
-if (IS_FORM_SENT())
-{
+if (isFormSent()) {
        // Save settings
        ADMIN_SAVE_SETTINGS_POST();
-}
-else
-{
+} else {
        // Remember config data in constants for the template
        define('__CFG_TITLE_LEFT'     , getConfig('title_left'));
        define('__CFG_TITLE_MIDDLE'   , getConfig('title_middle'));
@@ -63,5 +60,6 @@ else
        // Load template
        LOAD_TEMPLATE("admin_config_title");
 }
+
 //
 ?>