X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Flanguage-functions.php;h=96f5e0c01b3aec998306112b5509e534451ede1d;hb=d4cff9c73632a8d93428a80dcf54b3a8daa80a24;hp=303fa09d11050b5387fa31ccc9dd63fe5ad60fa8;hpb=c72268213d4d4829d845d39c101bb08fbe4ed79a;p=mailer.git diff --git a/inc/language-functions.php b/inc/language-functions.php index 303fa09d11..96f5e0c01b 100644 --- a/inc/language-functions.php +++ b/inc/language-functions.php @@ -192,7 +192,7 @@ function loadLanguageFile ($ext_name = 'none') { if (isLanguageIncludeReadable($ext_name)) { // Load language file loadLanguageInclude($ext_name); - } elseif ((isDebugModeEnabled()) && (getScriptOutputMode() == '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,