]> git.mxchange.org Git - mailer.git/blobdiff - inc/module-functions.php
First batch of fixed language ids (renamed, see ticket #219)
[mailer.git] / inc / module-functions.php
index cc75df10fbe2d8f8bedab8e985a530fd63aef3cf..8af427efc37fd9f660ecba039b53932c03192842 100644 (file)
@@ -17,7 +17,7 @@
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
  * Copyright (c) 2009 - 2011 by Mailer Developer Team                   *
- * For more information visit: http://www.mxchange.org                  *
+ * For more information visit: http://mxchange.org                      *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
  * it under the terms of the GNU General Public License as published by *
@@ -146,7 +146,7 @@ function isModuleRegistered ($module) {
                        $data = SQL_FETCHARRAY($result);
 
                        // Set all entries
-                       foreach ($data as $key=>$value) {
+                       foreach ($data as $key => $value) {
                                $GLOBALS['cache_array']['modules'][$key][$module] = $value;
                        } // END - foreach
 
@@ -223,7 +223,7 @@ function checkModulePermissions ($module = '') {
        $extension = ''; $module_chk = $module;
        //* DEBUG: */ debugOutput(__LINE__.'*'.count($modSplit).'/'.$module.'*');
        if (count($modSplit) == 2) {
-               // Okay, there is a seperator (_) in the name so is the first part a module?
+               // Okay, there is a separator (_) in the name so is the first part a module?
                //* DEBUG: */ debugOutput(__LINE__.'*'.$modSplit[0].'*');
                if (isExtensionActive($modSplit[0])) {
                        // The prefix is an extension's name, so let's set it
@@ -334,7 +334,7 @@ VALUES
        }
 
        // Debug log
-       logDebugMessage(__FUNCTION__, __LINE__, sprintf("module=%s, status=%s", $module_chk, getModuleStatus($module_chk)));
+       //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, sprintf("module=%s, status=%s", $module_chk, getModuleStatus($module_chk)));
 
        // Return the value
        return getModuleStatus($module_chk);