]> git.mxchange.org Git - mailer.git/blobdiff - inc/language-functions.php
Aliasing should be avoided, better we rename the column or/and use direct column...
[mailer.git] / inc / language-functions.php
index 5e227601343167b93e1abf8498300bc724e76910..96f5e0c01b3aec998306112b5509e534451ede1d 100644 (file)
@@ -192,7 +192,7 @@ function loadLanguageFile ($ext_name = 'none') {
        if (isLanguageIncludeReadable($ext_name)) {
                // Load language file
                loadLanguageInclude($ext_name);
-       } elseif ((isDebugModeEnabled()) && (getOutputMode() == '0') && ($ext_name != 'sql_patches') && (substr($ext_name, 0, 10) != 'admintheme')) {
+       } elseif ((isDebugModeEnabled()) && (isHtmlOutputMode()) && ($ext_name != 'sql_patches') && (substr($ext_name, 0, 10) != 'admintheme')) {
                // No language file is not so good...
                logDebugMessage(__FUNCTION__, __LINE__, sprintf("NOTICE: Extension %s has no language file or we cannot read from it. lang=%s, mode=%s",
                        $ext_name,