]> git.mxchange.org Git - mailer.git/blobdiff - inc/module-functions.php
Filters for configurable userid exclusion added:
[mailer.git] / inc / module-functions.php
index fd44d136dcd5b434a32e50cd2850709622ee97b3..3bc6dadb4d2fdefbe2732b051fe8cc0bd7562ed8 100644 (file)
@@ -116,7 +116,7 @@ function getModuleStatus ($module) {
        // Is the module_status entry there?
        if (!isModuleStatusSet($module)) {
                // Abort
-               reportBug('Module status not set. module=' . $module);
+               reportBug(__FUNCTION__, __LINE__, 'Module status not set. module=' . $module);
        } // END - if
 
        // Return it
@@ -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();