]> git.mxchange.org Git - mailer.git/blobdiff - inc/module-functions.php
Fixes
[mailer.git] / inc / module-functions.php
index 3f4bcebfa695ac91e8b6ef94104daec587f20fbd..21c7a8116c0b9d0602e08dfb50b2c6100cc72b47 100644 (file)
@@ -288,7 +288,7 @@ function checkModulePermissions ($module = '') {
                        // Data is missing so we add it
                        if (isExtensionInstalledAndNewer('sql_patches', '0.3.6')) {
                                /*
-                                * Since 0.3.6 we have a has_menu column, this took me a half
+                                * Since 0.3.6 there is a has_menu column, this took me a half
                                 * hour to find a loop here... *sigh*
                                 */
                                SQL_QUERY_ESC("INSERT INTO `{?_MYSQL_PREFIX?}_mod_reg`
@@ -421,7 +421,7 @@ function loadModule () {
        $isModuleValid = FALSE;
 
        // Construct module name
-       $GLOBALS['module_inc'] =  sprintf("inc/modules/%s.php", getModule());
+       $GLOBALS['module_inc'] = sprintf("inc/modules/%s.php", getModule());
 
        // Check module permission (again)
        $moduleState = checkModulePermissions();