Some small bugfixes (mostly warnings) and little improvements to the log

This commit is contained in:
Michael Vogel 2014-01-13 01:34:54 +01:00
parent 1bf9d99be2
commit de9a02b9ae
4 changed files with 15 additions and 5 deletions

View file

@ -218,7 +218,7 @@ function html2plain($html, $wraplength = 75, $compact = false)
$message = html_entity_decode($message, ENT_QUOTES, 'UTF-8');
if (!$compact) {
if (!$compact AND ($message != "")) {
$counter = 1;
foreach ($urls as $id=>$url)
if (strpos($message, $url) === false)