Where do these notices hide? Now one is removed #727

Merged
annando merged 1 commit from still-notices into 2018.08-rc 2018-08-31 07:53:34 +02:00
Showing only changes of commit c487765860 - Show all commits

View file

@ -163,6 +163,10 @@ function langfilter_prepare_body_content_filter(App $a, &$hook_data)
break; break;
} }
if (empty($iso2)) {
return;
}
$lang = Text_LanguageDetect_ISO639::code2ToName($iso2); $lang = Text_LanguageDetect_ISO639::code2ToName($iso2);
} else { } else {
$opts = $hook_data['item']['postopts']; $opts = $hook_data['item']['postopts'];